22 #ifndef OutputDevice_Network_h
23 #define OutputDevice_Network_h
33 #endif // #ifdef _MSC_VER
tcpip::Socket * mySocket
the socket to transfer the data
An output device for TCP/IP network connections.
OutputDevice_Network(const std::string &host, const int port)
Constructor.
std::ostream & getOStream()
Returns the associated ostream.
std::ostringstream myMessage
packet buffer
~OutputDevice_Network()
Destructor.
Static storage of an output device and its base (abstract) implementation.
virtual void postWriteHook()
Sends the data which was written to the string stream over the socket.