Connect to remote host syntax

In C #, when I use the code:

 public System.IAsyncResult BeginConnect(System.Net.EndPoint remoteEP, System.AsyncCallback callback, object state)

      

I declare EndPoint with the ip address of the remote host which binds to the port number. In this case, is the port number a port on my system or on a remote host?

0


a source to share


1 answer


You are connecting to a remote endpoint , so the port is the ports on the remote machine .



+1


a source







All Articles