ostream
: socketstreambase(sock, n), ostream(socketstreambase::rdbuf())
ostream::ostream(streambuf* sb, ostream* tied)