A base class for iostreams that read and write to a (possibly non-blocking) socket.
close(void) = 0¶
Sends the most recently queued data now. This only has meaning if
set_collect_tcp()has been set to true.
Returns the header size for datagrams. See
is_closed(void) = 0¶
Sets the header size for datagrams. At the present, legal values for this are 0, 2, or 4; this specifies the number of bytes to use encode the datagram length at the start of each TCP datagram. Sender and receiver must independently agree on this.
- virtual void