SocketTransportOptions.CreateDefaultBoundListenSocket(EndPoint) Method
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.
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
Returns
A Socket instance.