The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
Socket.this
std
socket
Socket
Use an existing socket handle.
this
(AddressFamily af, SocketType type, ProtocolType protocol)
this
(AddressFamily af, SocketType type)
this
(AddressFamily af, SocketType type, const(char)[] protocolName)
this
(AddressInfo info)
this
(socket_t sock, AddressFamily af)
class
Socket
pure nothrow @
nogc
this
(
socket_t
sock
,
AddressFamily
af
)
Meta
Source
See Implementation
std
socket
Socket
constructors
this
functions
accept
accepting
bind
close
connect
createAddress
getErrorText
getOption
listen
receive
receiveFrom
send
sendTo
setKeepAlive
setOption
shutdown
properties
addressFamily
blocking
handle
hostName
isAlive
localAddress
release
remoteAddress
static functions
select
variables
ERROR
Use an existing socket handle.