Introduction - If you have any usage issues, please Google them yourself
Socket to achieve client and server communication source
Program Description:
Development Tools: Visual Studio 2005
This program demonstrates the basic principles of Socket Communications, is suitable for beginners. Program is divided into two parts: the server side and client side, in fact, clients can also act as a server-side, the difference between both ends of this procedure is to send the data server must have a connection as a basis for the client, but client does not have this limitation. Hope this example will be helpful for everyone to learn SOCKET.
Note:
1. Run the program before you set up the IP address of the server, the client program settings- the "server IP settings, change the IP address for a specific server, otherwise the program will not run
2. Run the server-side program will run automatically after the server s IP address and the default local port number of open listening. This procedure can be implemented in a simple local area network communications, but