Compartir a través de


SocketTransportOptions.CreateBoundListenSocket Propiedad

Definición

Función usada para crear un nuevo Socket objeto con el que escuchar. Si no se establece, CreateDefaultBoundListenSocket(EndPoint) se usa .

public Func<System.Net.EndPoint,System.Net.Sockets.Socket> CreateBoundListenSocket { get; set; }
member this.CreateBoundListenSocket : Func<System.Net.EndPoint, System.Net.Sockets.Socket> with get, set
Public Property CreateBoundListenSocket As Func(Of EndPoint, Socket)

Valor de propiedad

Comentarios

Se espera que los implementadores llamen Bind(EndPoint) a en .Socket Tenga en cuenta que CreateDefaultBoundListenSocket(EndPoint) las llamadas Bind(EndPoint) como parte de su implementación, por lo que los implementadores que usan este método no necesitan llamarlo de nuevo.

Se aplica a