Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DatagramSocketMessageReceivedEventArgs.LocalAddress | localAddress property

Gets the local IP address associated with a DatagramSocket when a message was received.

Syntax


var localAddress = datagramSocketMessageReceivedEventArgs.localAddress;

Property value

Type: HostName

The local IP address where the message was received by the DatagramSocket.

Remarks

The DatagramSocketMessageReceivedEventArgs.LocalAddress property gets the local IP address where a message was received on a DatagramSocket. A message received event can only occur after a successful connect or bind operation on the DatagramSocket.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Networking.Sockets
Windows::Networking::Sockets [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Capabilities

ID_CAP_NETWORKING [Windows Phone]

Requirements (operating system)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Networking.Sockets
Windows::Networking::Sockets [C++]

Metadata

Windows.winmd

Capabilities

ID_CAP_NETWORKING [Windows Phone]

See also

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

 

 

Show:
© 2015 Microsoft