Inherits basic_streambuf.
Public Member Functions | |
void | clientInit (const std::string &hostname, const std::string &port) |
Initializes a socket connection to the given host on the given port. |
Class is used in combination with TcpTextStream to give a std::iostream to read and write data across network boundaries. Jørgen Hovland from no.it.programmering.c++ has helped me out alot with getting the socket parts of this class to work! Thank you Jørgen! :) Note class is for TEXT reading across network boundaries and CANNOT read BINARY data! If used as a wchar_t stream it will convert data using UTF-8 standard.