Question

In c# when I use the code :

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

I declare the EndPoint with the ip-address of the remote host am communicating with and a port number. In this case the port number represents a port on my system or on the remote host??

Was it helpful?

Solution

You connect to a remote endpoint so the port is the port on remote machine.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top