DatagramSocketMessageReceivedEventArgs.RemoteAddress Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.