41 #include <sys/types.h>
42 #include <sys/socket.h>
45 #include <sys/types.h>
61 virtual bool operator()(
int inStream)=0;
76 int getSocketDescriptor()
const;
80 virtual bool acceptAndServe()=0;
82 virtual void serveStream(
int);
84 virtual operator bool()
const;
bool mIsInitialized
has this been initialized ?
Definition: CSocket.h:65
This class takes a unary function.
Definition: CSocket.h:56
int mSocketDescriptor
int
Definition: CSocket.h:67
this is the function that's called when serving
Definition: CSocket.h:59