DatagramSocketMessageReceivedEventArgs.RemotePort DatagramSocketMessageReceivedEventArgs.RemotePort DatagramSocketMessageReceivedEventArgs.RemotePort DatagramSocketMessageReceivedEventArgs.RemotePort DatagramSocketMessageReceivedEventArgs.RemotePort Property

Definition

Gets the UDP port number of the remote sender of the datagram received on the DatagramSocket.

public : Platform::String RemotePort { get; }
winrt::hstring RemotePort();
public string RemotePort { get; }
Public ReadOnly Property RemotePort As string
var string = datagramSocketMessageReceivedEventArgs.remotePort;

Property Value

string string string

The UDP port number of the remote network destination when a message is received on a DatagramSocket.

Additional features and requirements

Capabilities
ID_CAP_NETWORKING [Windows Phone]

Remarks

The DatagramSocketMessageReceivedEventArgs.RemotePort property gets the UDP port number 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