DatagramSocketMessageReceivedEventArgs.RemotePort 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 UDP port number of the remote sender of the datagram received on the DatagramSocket.
public:
property Platform::String ^ RemotePort { Platform::String ^ get(); };
winrt::hstring RemotePort();
public string RemotePort { get; }
var string = datagramSocketMessageReceivedEventArgs.remotePort;
Public ReadOnly Property RemotePort As String
Property Value
The UDP port number of the remote network destination when a message is received on a DatagramSocket.
Windows requirements
App 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.
Applies to
See also
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla