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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for