Introduction - If you have any usage issues, please Google them yourself
In VC++ Works through UDP to achieve network communications, a very simple example to help understand the UDP communication
Packet : 105230282sock_dgram.rar filelist
SOCK_DGRAM\Client\ChatSocket.cpp
SOCK_DGRAM\Client\ChatSocket.h
SOCK_DGRAM\Client\Client.aps
SOCK_DGRAM\Client\Client.clw
SOCK_DGRAM\Client\Client.cpp
SOCK_DGRAM\Client\Client.dsp
SOCK_DGRAM\Client\Client.dsw
SOCK_DGRAM\Client\Client.h
SOCK_DGRAM\Client\Client.ncb
SOCK_DGRAM\Client\Client.opt
SOCK_DGRAM\Client\Client.plg
SOCK_DGRAM\Client\Client.rc
SOCK_DGRAM\Client\ClientDlg.cpp
SOCK_DGRAM\Client\ClientDlg.h
SOCK_DGRAM\Client\Debug
SOCK_DGRAM\Client\ReadMe.txt
SOCK_DGRAM\Client\res\Client.ico
SOCK_DGRAM\Client\res\Client.rc2
SOCK_DGRAM\Client\res
SOCK_DGRAM\Client\Resource.h
SOCK_DGRAM\Client\StdAfx.cpp
SOCK_DGRAM\Client\StdAfx.h
SOCK_DGRAM\Client
SOCK_DGRAM\Server\ChatDlg.cpp
SOCK_DGRAM\Server\ChatDlg.h
SOCK_DGRAM\Server\Debug
SOCK_DGRAM\Server\ReadMe.txt
SOCK_DGRAM\Server\res\Server.ico
SOCK_DGRAM\Server\res\Server.rc2
SOCK_DGRAM\Server\res
SOCK_DGRAM\Server\Resource.h
SOCK_DGRAM\Server\Server.aps
SOCK_DGRAM\Server\Server.clw
SOCK_DGRAM\Server\Server.cpp
SOCK_DGRAM\Server\Server.dsp
SOCK_DGRAM\Server\Server.dsw
SOCK_DGRAM\Server\Server.h
SOCK_DGRAM\Server\Server.ncb
SOCK_DGRAM\Server\Server.opt
SOCK_DGRAM\Server\Server.plg
SOCK_DGRAM\Server\Server.rc
SOCK_DGRAM\Server\ServerDlg.cpp
SOCK_DGRAM\Server\ServerDlg.h
SOCK_DGRAM\Server\StdAfx.cpp
SOCK_DGRAM\Server\StdAfx.h
SOCK_DGRAM\Server
SOCK_DGRAM