A base class for iostreams that read and write to a (possibly non-blocking) socket.
virtual void close(void) = 0
Sends the most recently queued data now. This only has meaning if
set_collect_tcp()has been set to true.
int get_tcp_header_size(void) const
Returns the header size for datagrams. See
virtual bool is_closed(void) = 0
void set_tcp_header_size(int tcp_header_size)
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 close(void) = 0