Socket.this

this() pure nothrow @nogc
No documentation available for this declaration.
this(AddressFamily af, SocketType type, ProtocolType protocol) @trusted

Create a blocking socket. If a single protocol type exists to support this socket type within the address family, the ProtocolType may be omitted.

this(AddressFamily af, SocketType type)

ditto

this(AddressFamily af, SocketType type, scope const(char)[] protocolName) @trusted

ditto

this(const scope AddressInfo info)

Create a blocking socket using the parameters from the specified AddressInfo structure.

this(socket_t sock, AddressFamily af) pure nothrow @nogc

Use an existing socket handle.