SocketTransportOptions.CreateDefaultBoundListenSocket(EndPoint) Method

Definition

Creates a default instance of Socket for the given EndPoint that can be used by a connection listener to listen for inbound requests. Bind(EndPoint) is called by this method.

public static System.Net.Sockets.Socket CreateDefaultBoundListenSocket (System.Net.EndPoint endpoint);
static member CreateDefaultBoundListenSocket : System.Net.EndPoint -> System.Net.Sockets.Socket
Public Shared Function CreateDefaultBoundListenSocket (endpoint As EndPoint) As Socket

Parameters

endpoint
EndPoint

An EndPoint.

Returns

A Socket instance.

Applies to