DatagramSocketMessageReceivedEventArgs.RemoteAddress DatagramSocketMessageReceivedEventArgs.RemoteAddress DatagramSocketMessageReceivedEventArgs.RemoteAddress DatagramSocketMessageReceivedEventArgs.RemoteAddress DatagramSocketMessageReceivedEventArgs.RemoteAddress Property

Definition

Gets the IP address of the remote sender of the datagram on the DatagramSocket when a message is received.

public : HostName RemoteAddress { get; }
HostName RemoteAddress();
public HostName RemoteAddress { get; }
Public ReadOnly Property RemoteAddress As HostName
var hostName = datagramSocketMessageReceivedEventArgs.remoteAddress;

Property Value

The IP address of the remote network destination when the message is received on a DatagramSocket.

Additional features and requirements

Capabilities
ID_CAP_NETWORKING [Windows Phone]

Remarks

The DatagramSocketMessageReceivedEventArgs.RemoteAddress property gets the IP address of the remote sender when a datagram was received on a DatagramSocket. A message received event can only occur after a successful connect or bind operation on the DatagramSocket.

See also