This class provides an interactive console TCP server.
- \todo Add readline support
\todo Add interactivity detection using timeout
\idea To support blocking commands, we could give the Client 'suspend()' and 'resume()'
members. suspend() would probably throw some kind of exception to transfer control back
friend class detail::ClientReader;
friend class detail::NonblockingSocketSink;
};
+
+ /** \brief Output INet4Address instance as it's string representation
+ \related INet4Address
+ */
+ std::ostream & operator<<(std::ostream & os, Client const & client);
+ std::ostream & operator<<(std::ostream & os, Client * client);
}}