00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef ACLNT_H
00010 #define ACLNT_H
00011
00012 #include <string>
00013 #include "ComPlusPlus/SocketUdp.h"
00014
00015 namespace compp {
00016 class AClnt {
00017
00018 public:
00019 AClnt( const std::string & IPAddr, const int port );
00020 AClnt( );
00021 bool Connect( const std::string & IPAddr, const int port );
00022 bool disConnect( );
00023 virtual ~AClnt( );
00024
00025 std::string requestTransaction ( const std::string & request, const bool cyphered = false ) ;
00026
00027 protected:
00028
00029 compp::SocketUdp S;
00030
00031 };
00032 }
00033
00034 #endif