搜索资源列表
一个判断远程主机存活程序代码
- 一个判断远程主机存活程序代码(ping) #include #include #include #include #include "winsock.h" #pragma comment(lib,"Ws2_32"); #define SEND_SIZE 32 #define PACKET_SIZE 4096 #define ICMP_ECHO 8 #define ICMP_ECHOREPLY 0 struct icmp {
RED.CC
- 我研究生阶段研究定的方向是网络拥塞管理,而我研究RED算法也有挺长时间了,很久以前就有解析NS中的队列管理算法RED的源代码(red.cc&red.h)的想法,借寒假有时间,匆匆写了一下。有些东西自己也没完全弄懂,但是对于困惑于如何修改RED算法的同学来说,应该有很大的参考价值。 本文档首先分析了RED算法涉及参数的含义,然后给出了主要函数的作用,最后对主要函数的源代码进行了分析。 希望本文档对你有用。 -I set the direction of post-graduate
sendmassages
- 运行本程序前应安装金仓短信王标准商务版DG-C1A驱动程序,安装完驱动还需要在程序中加载dllforvc.dll、dllforvc.lib、dllforvc.h文件。 运行本程序,打开程序登录界面,如图1.1所示。输入用户名mr、密码mrsoft,单击“登录”按钮,进入程序主界面-Running this program should be installed before the payment warehouse standard business version of SMS Wang
p2pC
- p2p网络广播,winsock2.0实现。分inject与peer两个主程序,别外包括头文件proto.h和exception主要用于区分消息内容和出错信息-p2p network broadcasting, winsock2.0 realize. Sub-inject with the two main peer, do not include header files proto.h and the exception is mainly used to distinguish betwee
follow
- Follow me超级搜索引擎V6.1(无数据库版) 主要功能: 1.本程序整合google、百度、搜狗、中搜、搜搜等等近百个搜索引擎为一体. 2.可以搜索网页、音乐、影视、软件、图片、小说、新闻、论坛、游戏、Flash、地图、购物、商业特色搜索等10多个搜索主题. 3.占用CPU资源少,支持流量大. 4.本程序版面绝对精美,所有资料来原于各大搜索引擎,完全不用维护,只要改一下网站资料和放些广告就可以了. 5.最新增加默认搜索功能,可以让用户选择百度或google或
CursePoint
- 网页模拟点击代码(窗口透明) 晚上某位朋友非要想能挂机点广告,问我能不能写个自动点广告的东东。一时兴起,就写了这个作品,很粗糙。改改能做远控的插件使用。考虑到网站的PV以及停留时间,通过计时器控制。由于注入IE基本所有的插软都会报警。就按1024*768做了个透明界面,在打开IE的情况下,对前端窗口进行模拟点击,保证了检测程序对IE的监控。如需后台隐藏点击,则只需单独写个浏览器隐藏运行,将此程序写成DLL注入即可。 -AppWizard creates one dialog cla
MyQQ
- QQ聊天程序,只要通过Ip地址,即可向别人发送消息,接收消息-ppWizard has created this MyQQ application for you. This application not only demonstrates the basics of using the Microsoft Foundation classes but is also a starting point for writing your application. This f
cluster
- 分簇算法代码,sss.h中定义了部分功能函数在sss.cpp中实现;node.cpp实现了sss.h中定义的node类;main.cpp实现了仿真算法流程-Clustering algorithm code, sss.h some performance function is defined in the sss.cpp to achieve node.cpp achieved sss.h defined node class main.cpp flow simulation algori
20101317526679
- QQNC.vcproj 这是使用应用程序向导生成的 VC++ 项目的主项目文件。 它包含有关生成文件的 Visual C++ 版本的信息,以及有关使用应用程序向导选择的平台、配置和项目功能的信息。 QQNC.h 这是应用程序的主要头文件。它包括其他项目特定的头文件(包括 Resource.h),并声明 CQQNCApp 应用程序类。 QQNC.cpp 这是包含应用程序类 CQQNCApp 的主要应用程序源文件。 -QQNC.vcproj this
diwnload
- 一个简单的下载#include<windows.h> #include<urlmon.h> #include<process.h> #include<Shellapi.h> //这个头文件里有ShellExecute的定义 #pragma comment (lib,"Urlmon.lib") int main() { URLDownloadToFile(NULL,"http://www.baidu.com/img
cameraMonitorDemo-SDK
- MonitorAPI 是 p2p camera 接口文件 及接口库 MonitorWin 是 demo 主程序. 其中 tframe.h 是 类似 MFC 的 win32 SDK, 与 camera 无关 bin 是一些库 和 demo 主程序, 可运行的. mmcode.dll, avcodec-53.dll, avutil-51.dll 是 ffmpeg 解码库 MonitorAPI.dll 是 p2p camera 接口 M
xHook
- 这个工具采用的是HOOK进程的winsock API,把一些数据记录下来。 2.1 patch静态文件,即运行前挂钩. 2.2 也是修改IAT,跟1.1一样. 2.3 修改目标函数的前几个字节,跳转到新的函数,但不再调用原始函数,无 实际意义,作者只是做演示? 2.4 这种方法(3.2.3 保存原始函数)很COOL,其中的亮点和难点就是“获取任意 地址的指令长度”。 之前我也想用2.4这种办法,但卡在如何“获取任意地址的指令长度”上面了:(
ncutils-c-0.2.tar
- Documentation of the API can be found in the ncutils.h file. For an example of the usage look at the main.c file. To use the library in your project include the file ncutils.h, compile the *.c files in this directory and link them with yo
wangluoliuliang
- 获取数据流量获取网络 流量-include < stdlib.h> #include < stdio.h> #include < pcap.h> void usage() void dispatcher_handler(u_char*, const struct pcap_pkthdr*, const u_char*) void main(int argc, char**argv){pcap_t*fp char errbuf[PCAP_ERRBUF_SIZE] struc
IP
- 应用程序向导已为您创建了这个ip地址的应用程序。此应用程序 不仅介绍了使用Microsoft基础类的基本知识 但也是一个起点,编写应用程序。 他的文件包含了什么你会发现在每个文件的摘要说 让你的ip地址的应用程序。 IPAddress.h 这是应用程序的主头文件。它包含其他 项目特定的头文件(包括Resource.h ),并声明 CIPAddressApp应用程序类。 IPAddress.cpp 这是包含应用程序的主应用程序源文件
unix-progarm-apendix
- UNIX环境编程 在书正文中的大多数程序都包含头文件ourhdr.h-UNIX programming environment d in the main body of the Most programs include the header file ourhdr.h,
3_read
- #include shm.h int main(int argc,char *argv[]) { key_t key int shm_id char *buf //鑾峰緱key if((key = ftok( ./ ,0xa)) < 0){ perror( ftok ) exit(1) } //鑾峰緱鍏变韩鍐呭瓨 if((shm_id = shmget(key,SHM_SIZE,IP
du
- 定义一个包含两个纯虚函数的抽象类shape: class shape { public: virtual float Area()=0; virtual void SetData(float,float=0)=0; }; 成员函数SetData用于设置几何图形的属性值。成员函数Area()用于求出几何图形的面积。由shape派生出四种几何图形,分别是:三角形、矩形、正方
基于 C++ 的网络在线聊天系统
- 我们将使用 TCP 套接字进行通信,并使用多线程处理多个客户端连接。 首先创建项目结构: chat-system/ ├── src/ │ ├── server/ │ │ ├── server.cpp │ │ ├── server.h │ │ └── main.cpp │ └── client/ │ ├── client.cpp │ ├── client.h │ └── main.cpp └── CMake