source: BAORadio/libindi/v1/BAOTest/ClientSocket.h @ 612

Last change on this file since 612 was 493, checked in by frichard, 14 years ago

Le programme gère mieux les connexion/déconnexion des microcontrôleurs.

File size: 449 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 Socket
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.