NetSocket++  0.1
A library designed to simplify working with UNIX sockets in C++, written in OOP methodology.
 All Classes Namespaces Files Functions Variables
ClientSocket.h
Go to the documentation of this file.
1 #ifndef _CLIENTSOCKET_H
2 #define _CLIENTSOCKET_H
3 #include "NetSocket.h"
4 #include "NetworkException.h"
10 
13 namespace NetSocketPP {
16 class ClientSocket: public NetSocket {
17 protected:
18 char buf[100000];
19 public:
20  ClientSocket(std::string host, std::string service, std::string protocol);
21 
22 
23 
24  int send(std::string msg, int flags);
25 
26 
27 
28  int recv(int flags);
29 
30 
31  std::string get();
32 
33 };
34 }
35 #endif