source: BAORadio/libindi/libindi/Indi_Stellarium/src/ClientSocket.h @ 623

Last change on this file since 623 was 623, checked in by frichard, 13 years ago
File size: 452 bytes
Line 
1// Definition of the ClientSocket class
2
3#ifndef ClientSocket_class
4#define ClientSocket_class
5
6#include "socket.h"
7
8struct Position
9{
10   int x;
11   int y;
12};
13
14class ClientSocket : private socketdef
15{
16 public:
17
18  ClientSocket ( std::string host, int port );
19  virtual ~ClientSocket(){};
20
21  const ClientSocket& operator << ( const std::string& ) const;
22  const ClientSocket& operator >> ( std::string& ) const;
23
24void recv( std::string& s ); 
25};
26
27
28#endif
Note: See TracBrowser for help on using the repository browser.