DatagramSocket.GetEndpointPairsAsync | getEndpointPairsAsync methods

Applies to Windows and Windows Phone

Gets a list of EndpointPair objects that can be used to connect to a remote network destination.

Overload list

MethodDescription
GetEndpointPairsAsync(HostName, String) Gets a list of EndpointPair objects based on a remote hostname and remote service name that can be used to send datagrams to a remote network destination.
GetEndpointPairsAsync(HostName, String, HostNameSortOptions) Gets a list of EndpointPair objects based on a remote hostname and remote service name and the sort order to be used.

Requirements

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

DatagramSocket

 

 

Show:
© 2014 Microsoft