Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.62 KB

datagramsocketmessagereceivedeventargs_remoteport.md

File metadata and controls

27 lines (19 loc) · 1.62 KB
-api-id -api-type
P:Windows.Networking.Sockets.DatagramSocketMessageReceivedEventArgs.RemotePort
winrt property

Windows.Networking.Sockets.DatagramSocketMessageReceivedEventArgs.RemotePort

-description

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

-property-value

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

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

-examples

-see-also

BindServiceNameAsync, ConnectAsync, DatagramSocket, DatagramSocketInformation.LocalAddress, DatagramSocketInformation.LocalPort, DatagramSocketInformation.RemoteAddress, DatagramSocketInformation.RemotePort, DatagramSocketMessageReceivedEventArgs.LocalAddress, DatagramSocketMessageReceivedEventArgs.RemoteAddress

-capabilities

ID_CAP_NETWORKING [Windows Phone]