TCPVibeStream

Undocumented in source.

Members

Functions

accept
TCPVibeStream accept()
Undocumented in source. Be warned that the author may not have intended to support it.
bind
void bind(string to)
Undocumented in source. Be warned that the author may not have intended to support it.
bind
void bind(Address )
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.
connect
NetworkStream connect(string host, ushort port, Duration timeout)
Undocumented in source. Be warned that the author may not have intended to support it.
listen
void listen(int )
Undocumented in source. Be warned that the author may not have intended to support it.
receive
ptrdiff_t receive(void[] buff)
Undocumented in source. Be warned that the author may not have intended to support it.
send
ptrdiff_t send(const(void)[] buff)
Undocumented in source. Be warned that the author may not have intended to support it.
so
TCPConnection so()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

isConnected
bool isConnected [@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.
readTimeout
Duration readTimeout [@property setter]
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.

Inherited Members

From NetworkStream

isConnected
bool isConnected [@property getter]
Undocumented in source.
isOpen
bool isOpen [@property getter]
Undocumented in source.
close
void close()
Undocumented in source.
connect
NetworkStream connect(string host, ushort port, Duration timeout)

timeout is the socket write timeout.

send
ptrdiff_t send(const(void)[] buff)
Undocumented in source.
receive
ptrdiff_t receive(void[] buff)
Undocumented in source.
accept
NetworkStream accept()
Undocumented in source.
reuseAddr
bool reuseAddr [@property setter]
Undocumented in source.
bind
void bind(string )
Undocumented in source.
bind
void bind(Address )
Undocumented in source.
listen
void listen(int )
Undocumented in source.
so
TCPConnection so()
Undocumented in source.
so
Socket so()
Undocumented in source.
readTimeout
Duration readTimeout [@property setter]

Set timeout for receive calls. 0 means no timeout.

Meta