Communicating over a Network
The Winsock control does not provide us with many properties, but it gives us many events and methods to play with. The most important properties are:
As you can see, these three properties are quite important. When connecting, you will need to set the RemoteHost and RemotePort, but when you are listening you will only need to set the local port property.
Page 2 of 7