00001 /* 00002 * tcpclient.h 00003 * 00004 * Created on: 29.07.2009 00005 * Author: morgenro 00006 */ 00007 00008 #ifndef IBRCOMMON_TCPCLIENT_H_ 00009 #define IBRCOMMON_TCPCLIENT_H_ 00010 00011 #include "ibrcommon/net/tcpstream.h" 00012 #include "ibrcommon/Exceptions.h" 00013 00014 namespace ibrcommon 00015 { 00016 class tcpclient : public tcpstream 00017 { 00018 public: 00019 class SocketException : public Exception 00020 { 00021 public: 00022 SocketException(string error) : Exception(error) 00023 {}; 00024 }; 00025 00026 tcpclient(string address, int port); 00027 virtual ~tcpclient(); 00028 }; 00029 } 00030 00031 #endif /* TCPCLIENT_H_ */
1.6.3