Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SocketAsyncEventArgs.RemoteEndPoint Property

Gets or sets the remote IP or DNS endpoint for an asynchronous operation.

Namespace:  System.Net.Sockets
Assembly:  System.Net (in System.Net.dll)
public EndPoint RemoteEndPoint { get; set; }

Property Value

Type: System.Net.EndPoint
The remote IP endpoint for an asynchronous operation.

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.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

Show:
© 2014 Microsoft. All rights reserved.