class Poco::Net::SocketOutputStream
Overview
An output stream for writing to a socket. More…
#include <SocketStream.h> class SocketOutputStream: public Poco::Net::SocketIOS, public ostream { public: // construction SocketOutputStream(const Socket& socket); };
Inherited Members
public: // methods SocketStreamBuf* rdbuf(); void close(); StreamSocket socket() const; protected: // fields SocketStreamBuf _buf;
Detailed Documentation
An output stream for writing to a socket.
Construction
SocketOutputStream(const Socket& socket)
Creates the SocketOutputStream with the given socket.
The socket’s SocketImpl must be a StreamSocketImpl, otherwise an InvalidArgumentException is thrown.