18 class TcpClient :
public Port {
29 TcpClient(std::string host,
unsigned port);
39 int connectToServer(
bool doWait);
44 virtual int connectToServer(std::string host,
unsigned port,
bool doWait);
50 void setBlocking(
bool doWait);
55 void setHost(std::string host);
60 void setPort(
unsigned port);
72 virtual void disconnect();
83 bool hostInitialized_;
84 bool portInitialized_;
101 virtual int privateConnectToServer(
bool doWait);
108 #endif // End #ifndef
Tagged: Mon May 10 16:41:20 PDT 2004.