SocketStream

Undocumented in source.

Members

Functions

close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
connect
SocketStream connect(string host, ushort port, Duration timeout)
Undocumented in source. Be warned that the author may not have intended to support it.
open
void open(AddressFamily fa)
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.

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.
so
Socket so [@property getter]
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.
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.
readTimeout
Duration readTimeout [@property setter]

Set timeout for receive calls. 0 means no timeout.

Meta