dcsimg
November 28, 2020
Hot Topics:

Communicating over a Network

  • By Sam Huggill
  • Send Email »
  • More Articles »

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:

  • RemoteHost - The IP/Machine name of the remote machine
  • RemotePort - The remote port number that the remote machine is listening to
  • LocalPort - The local port number to listen to
  • 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



    This article was originally published on November 20, 2002

    Enterprise Development Update

    Don't miss an article. Subscribe to our newsletter below.


    Thanks for your registration, follow us on our social networks to keep up-to-date