An Intro to Windows Socket (Winsock2) Programming 16

 

 

 

Testing the TCP Client and Server Programs in Private Network

 

In this test we are using different hosts in a private network. The receiver IP address is 192.168.1.1 and the sender is 192.168.1.1. We change those address in the sender program and then rebuild it. The receiver is listening on all interfaces.

 

 

 

1.   Firstly, we run the server program.

2.   Then, we run the sender program two times.

3.   The following first screenshot show the receiver sample output and the second is the sender.

 

Windows Socket (Winsock2) Programming and  C Language: the TCP select server in action in the private network

 

 

Windows Socket (Winsock2) Programming and  C Language: the TCP sender console output sample

 

 

 

< Winsock2 15 | Windows Socket 2 (Winssock2) | Win32 Programming | Winsock2 17 >