Jaa


DatagramSocketMessageReceivedEventArgs.RemoteAddress Property

Definition

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

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

Property Value

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

Windows requirements

App 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.

Applies to

See also