-
用程序编写的!利用套接字实现网络编程!这样的内容。
利用VC编写的程序!利用socket实现的网络编程!可以对等通信或者传送文件,对话,截图!超过一般的聊天之类的代码!-VC prepared by the procedure! Use the socket achieve network programming! Such communication can be right or transmission of documents, dialogue, screenshots! General chat over such code!
- 2022-03-17 05:00:14下载
- 积分:1
-
1
说明: FlashService.dll站长审核合格后才能开通帐号(FlashService.dll owners open accounts only after passing the examination)
- 2011-02-12 03:52:55下载
- 积分:1
-
免注册调用DLL(纯API)
说明: 很久之前收录的,并非原创。歪果仁写的免注册调用DLL的VB源码例子。(What was included a long time ago was not original. An example of VB source code for non-registered DLL calls written by crooked kernels)
- 2021-03-11 16:09:25下载
- 积分:1
-
C# 实现进程守护功能 通用于所有进程,非法关闭和关机依然适用 附完整源码下载
1. 下载本实例源码 2. 安装注意事项 在配置档中配置你要守护的应用程序,应用程序之间用逗号隔开: 01 02 03 04 09 10 该项目是Windows服务,直接打开“CocoWatcher.exe”会报错,如图1所示:运行该守护程序需安装Windows服务,点击批处理文档“安装.bat”即可,“安装.bat”具体内容如下: 1 "%cd%InstallUtil.exe" "%cd%CocoWatcher.exe" 2 net start "CocoWatcher" 3 pause 如果你想卸载该守护程序,点击批处理文档“卸载.bat”,“卸载.bat”具体内容如下: 1 net stop "CocoWatcher" 2 "%cd%InstallUtil.exe" "%cd%CocoWatcher.exe" -u 3 taskkill /f /im CocoWatcher.exe 4 pause 3. 需求分析 用户指定要守护的应用程序(数量不限),该应用程序不仅包括exe可执行文件,还包括诸如jpg、txt等所有能双击打开执行的应用程序。用户设定好要守护的应用程序后,关闭应用程序(包括合法和非法关闭),该应用程序要能立即重启打开。当电脑重启时,要守护的应用程序也能自动全部打开。 4. 详细设计 要实现上述需求,首先要提供一个配置档,让用户能随意配置要守护的应用程序。那么,该配置档要配置应用程序的什么信息呢?答案:应用程序的全路径。 好,我们已经知道了要守护的应用程序的全路径,接下来怎样完成守护任务呢?首先,我们应该打开任务管理器,查看一下正在运行的有哪些进程,然后逐一读取出这些进程的全路径,与要守护的应用程序的全路径比对,如果一致,说明要守护的应用程序已开启了,此时要分配一条线程监控该进程句柄,当该进程句柄返回信息,说明该进程已关闭,此时释放进程句柄内存,并重启该进程。如果遍历任务管理进程列表中所有进程,没有找到与要守护的应用程序的全路径一致的进程,说明要守护的应用程序尚未打开,此时要启动该应用程序,然后转入监控流程。 值得注意的是,一定要额外分配线程去监控要守护的应用程序,为什么?因为如果你用主线程(入口函数线程)去执行监控任务,会被长期阻塞,直到进程退出才会被激活,这样就无法运行后续程序。况且,监控程序要实现持续监控,要使用死循环,如果主线程进入死循环,就无法监控其他要守护的进程了。
- 2013-07-19下载
- 积分:1
-
以三种方式实现PING操作
以三种方式实现PING操作-three ways to achieve operating PING
- 2022-01-25 18:43:02下载
- 积分:1
-
HomeWork_OS
模拟操作系统的界面程序,磁盘管理模块,文件管理模块,内存置换算法等(Simulation of the operating system interface program, disk management module, document management modules, memory replacement algorithm)
- 2021-01-07 04:08:52下载
- 积分:1
-
shutdown
实现计算机关机,重启,无条件重启,注销用户等功能(Achieve computer shutdown, restart, restart unconditional, log off the user and other functions)
- 2011-12-01 20:04:32下载
- 积分:1
-
lgd
骨架提取算法,本程序是我们在校内做的骨架提取算法,算法是基于那且员的(Skeleton extraction algorithm, this procedure is we do in the school skeleton extraction algorithm, the algorithm is based on that and the staff)
- 2018-12-03 00:58:49下载
- 积分:1
-
CandyMachine
this is a candy machine simulator
- 2013-12-19 10:48:11下载
- 积分:1
-
DefaultFileComparator
Default File Comparator implements Comparator, Serializable.
- 2014-01-22 14:13:04下载
- 积分:1