Closes the socket.
Maximum number of retries for receiving from socket on read() in case of EAGAIN/EINTR.
Connects the socket.
Maximum number of retries for receiving from socket on read() in case of EAGAIN/EINTR.
Maximum number of recv() retries.
Checks whether the socket is connected.
Writes as much data to the socket as there can be in a single OS call.
Returns the actual address of the peer the socket is connected to.
The host the socket is connected to or will connect to. Null if an already connected socket was used to construct the object.
The port the socket is connected to or will connect to. Zero if an already connected socket was used to construct the object.
The socket send timeout.
The socket receiving timeout. Values smaller than 500 ms are not supported on Windows.
Returns the OS handle of the underlying socket.
Sets the needed socket options.
Remote host.
Remote port.
Timeout for sending.
Timeout for receiving.
Cached peer address.
Cached peer host name.
Cached peer port.
Wrapped socket object.
Socket implementation of the TTransport interface.
Due to the limitations of std.socket, currently only TCP/IP sockets are supported (i.e. Unix domain sockets are not).