Introduction - If you have any usage issues, please Google them yourself
completed an example of the server and client simple oral communication process. Asked on the mainframe installed TCP/IP protocol and set the IP. Servers and clients using the same host of different ports, the use of the server port to 2000, clients use the port number as 3000. server operating procedures first, the first initialization Winsock, and then create socket, in 2000 ports on bonding, then the 2000 port for the interception, and entered the wait state. client after running the same protocols of the first initialization, and then create socket, and then try to server connections. connecting once established, can the server and client communications between. the client suggested the importation of a number, such as the importation of 50, then the client will "data0" to
Packet : 619146会话通信程序1.rar filelist
会话通信程序1\Server\Debug
会话通信程序1\Server\server.dsp
会话通信程序1\Server\server.dsw
会话通信程序1\Server\server.ncb
会话通信程序1\Server\server.plg
会话通信程序1\Server\server.cpp
会话通信程序1\Server\server.opt
会话通信程序1\Server
会话通信程序1\Client\Debug
会话通信程序1\Client\Client.ncb
会话通信程序1\Client\Client.plg
会话通信程序1\Client\Client.dsw
会话通信程序1\Client\Client.dsp
会话通信程序1\Client\Client.cpp
会话通信程序1\Client\Client.opt
会话通信程序1\Client
会话通信程序1\readme.txt
会话通信程序1