The OpenD Programming Language

SocketStream

Undocumented in source.

Members

Functions

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

Inherited Members

From NetworkStream

connect
NetworkStream connect(string host, ushort port, Duration timeout)

timeout is the socket write timeout.

readTimeout
Duration readTimeout [@property setter]

Set timeout for receive calls. 0 means no timeout.

Meta