udpservermoni

所属分类:网络编程
开发工具:Visual C++
文件大小:8KB
下载次数:45
上传日期:2006-05-13 13:10:26
上 传 者zhujiangtao
说明:  建立接收socket,将socket和指定的端口绑定 2、创建接收线程,在线程中调用ioctlsocket()判断是否接收到数据,接收到数据时调用OnReceive()(类似CSocket中的OnReceive()) 3、在OnReceive中申请空间调用recvfrom接收数据 4、建立发送socket,和INADDR_ANY绑定 5、调用sendto发送数据
(establishment receiving socket, the socket and designated ports bundled with two to create receive threads, Calling the threads ioctlsocket () to decide whether or not to receive data, to receive information call OnReceive () (similar to the OnReceive CSocket ()) 3, in which the application of space OnReceive call recvfrom four receive data, the establishment of this socket, and INADDR_ANY bundled 5, call sendto send data)

文件列表:
udpdemo.cpp (521, 2006-01-23)
udpdemo.dsp (4510, 2006-01-22)
udpdemo.dsw (537, 2006-01-22)
UDPServer.cpp (11142, 2006-01-23)
UDPServer.h (1474, 2006-01-23)
一个简单的UDP Server实现.htm (11470, 2006-01-24)

近期下载者

相关文件


收藏者