DatagramSocketInformation.RemoteAddress | remoteAddress property
The IP address of the remote network destination associated with a DatagramSocket object.
Syntax
var remoteAddress = datagramSocketInformation.remoteAddress;
Property value
Type: HostName
The IP address of the remote network destination.
Remarks
The RemoteAddress property represents the remote IP address for the remote network destination associated with a DatagramSocket object.
An app can set the remote hostname or IP address and remote service name or UDP port number to use by calling the ConnectAsync or GetOutputStreamAsync method on the DatagramSocket. The connect operation will bind the socket to a specific remote IP address and remote UDP port number. The RemoteAddress property is the IP address that remote hostname resolved to.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Minimum supported phone | Windows Phone 8 |
|
Namespace |
|
|
Metadata |
|
|
DLL |
|
|
Capabilities |
|
See also
- DatagramSocket
- DatagramSocket.ConnectAsync
- DatagramSocket.GetOutputStreamAsync
- DatagramSocketInformation
- HostName
- LocalAddress
- LocalPort
- RemotePort
Build date: 2/25/2013
