Constructor that takes an already created, connected (!) socket.
Creates a new unconnected socket that will connect to the given host on the given port.
Closes the socket.
Asynchronously connects the socket.
The amount of time in which a conncetion must be established before the open() call times out.
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.
The TAsyncManager associated with this transport.
Non-blocking socket implementation of the TTransport interface.
Whenever a socket operation would block, TAsyncSocket registers a callback with the specified TAsyncSocketManager and yields.
As for thrift.transport.socket, due to the limitations of std.socket, currently only TCP/IP sockets are supported (i.e. Unix domain sockets are not).