SocketAsyncEventArgs.RemoteEndPoint Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the remote IP or DNS endpoint for an asynchronous operation.
Assembly: System.Net (in System.Net.dll)
This property specifies the remote endpoint to which to connect using the Socket.ConnectAsync method. The remote endpoint can be set to a System.Net.IPEndPoint or a System.Net.DnsEndPoint. The remote endpoint specified by this property can include an IPv4 or IPv6 address.
This property must be set before calling the Socket.ConnectAsync method.