34 #include <sys/types.h>
35 #include <sys/socket.h>
38 #include <sys/types.h>
41 #include <arpa/inet.h>
42 #include <netinet/tcp.h>
66 struct sockaddr_in mSocketAddress;
78 bool listenAtHostPort(
const string& inHost,
int inSocket);
80 string getHost()
const;
84 bool acceptAndServe();
This class takes a unary function.
Definition: CSocket.h:56
bool mIsInitialized
has this been initialized ?
Definition: CTCPSocket.h:60
string mHost
the path to the socket (visible in the file system)
Definition: CTCPSocket.h:62
A structure that opens/closes a TCP socket for a given path and sets the file permissions to 0600...
Definition: CTCPSocket.h:57
int mPort
the path to the socket (visible in the file system)
Definition: CTCPSocket.h:64