Introduction - If you have any usage issues, please Google them yourself
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
Packet : 53607894udpservermoni.rar filelist
udpdemo.cpp
udpdemo.dsp
udpdemo.dsw
UDPServer.cpp
UDPServer.h
一个简单的UDP Server实现.htm