搜索资源列表
sf_200562516252
- 一个线程驰的类, 下面的是基本的使用方法 struct TSession { SOCKET socket int id } class myIocp:public CIOCP { public: void OnRead(void * p, char * buf, int len) void OnAccept(SOCKET socket) void OnClose(void * p) } void myIocp::OnAccept(SOCKET socket) { TSession *s = ne
一个判断远程主机存活程序代码
- 一个判断远程主机存活程序代码(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 {
client_serveur
- client socket include <sys/types.h> include <sys/socket.h> include <stdio.h> include <netinet/in.h> include <arpa/inet.h> include <unistd.h> int main() { int sockfd int len struct so
portscan
- Linux下的端口扫描实现 f (!connect(sockfd,(struct sockaddr*)&server,sizeof(struct sockaddr- #include<stdlib.h> #include<stdio.h> #include<sys/socket.h> #include<netdb.h> #include<string.h> #include<unistd.h>
VCWinSockProgramming
- 1. WinSock学习笔记(一) 2 2. WinSock学习笔记(二) 11 3. 使用CSockets进行文件传送 17 4. 基于UDP的网络通迅程序 19 5. 点对点多线程断点续传的实现 22 6. Windows Socket 网络编程(一) 34 7. Windows Socket 网络编程(二) 36 8. Windows Sockets 网络编程(三) 40 9. TCP实现P2P通信(TCP穿越NAT/TCP打洞) 44 10. 深入 C
socketudp
- 本程序通过udp协议的socket模拟window下面的ping程序,不需要socket连接,直接发送数据包,该数据包是通过struct自己定义的结构-This procedure simulated through socket udp protocol ping window following procedure does not require socket connections, sending packets directly to the data packet is defin
struct
- 1.一个跨平台的线程类 2.一个跨平台的Mutex 3.一组跨平台的容器(堆栈、单双链表、哈希表) 4.一个跨平台的socket 【OK】 5.一个简单高效的内存池 6.一个简单的XML解析器 7.一个安全高效的日志类 8.一个平台无关的File类和一个Dir类 9.一个时间日期类-(1) a cross-platform thread class. A cross-platform Mutex containe
socket
- 简单实现C/S架构.可以实现服务器与客户端进行交流-simple function of C/S struct communication
file
- ptr to file specific struct (vnode socket).
zhizhen_neihequdong
- 套接字连接网络协议块,传输层接口,网络接口由struct inet_proto定义。-Network Protocol socket connection block, transport layer interface, a network interface is defined by a struct inet_proto.
okf077
- A line Cheng Chi classes, the use of the following is the basic method of struct TSession SOCKET SOCKET int id
phattdrququesdecrease
- 一个线程驰的类, 下面的是基本的使用方法 struct TSession SOCKET socket int id-A line Cheng Chi classes, the use of the following is the basic method of struct TSession SOCKET SOCKET int id
ehk_classes
- A line Cheng Chi classes, the use of the following is the basic method of struct TSession SOCKET SOCKET int id
85243878
- 一个线程驰的类, 下面的是基本的使用方法 struct TSession SOCKET socket int id(A line Cheng Chi classes, the use of the following is the basic method of struct TSession SOCKET SOCKET int id)
Python References
- Python 学习笔记,包括有COPY、POPEN、Socket、Struct、argparse、Parser、dictionary、enum、ipaddress、pprint、threading、ElementTree。(notes for studying Python)
178774
- 一个线程驰的类, 下面的是基本的使用方法 struct TSession SOCKET socket int id()
xallection-lifetime
- 一个线程驰的类, 下面的是基本的使用方法 struct TSession SOCKET socket int id()
