- open
void open(AddressFamily fa)
Undocumented in source. Be warned that the author may not have intended to support it.
- so
Socket so [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- isOpen
bool isOpen [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- isConnected
bool isConnected [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
- bind
void bind(string to)
bind() just remember address. We will cal bind() at the time of connect as
we can have several connection trials.
- connect
SocketStream connect(string host, ushort port, Duration timeout)
Make connection to remote site. Bind, handle connection error, try several addresses, etc
- send
ptrdiff_t send(const(void)[] buff)
Undocumented in source.
- receive
ptrdiff_t receive(void[] buff)
Undocumented in source. Be warned that the author may not have intended to support it.
- readTimeout
Duration readTimeout [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
- accept
SocketStream accept()
Undocumented in source. Be warned that the author may not have intended to support it.
- reuseAddr
bool reuseAddr [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
- bind
void bind(Address addr)
Undocumented in source. Be warned that the author may not have intended to support it.
- listen
void listen(int n)
Undocumented in source. Be warned that the author may not have intended to support it.