2 #ifndef __QUICK_SOCKET_HPP__
3 #define __QUICK_SOCKET_HPP__
int accept_client(const int sock)
Wait for a client to connect to sock Once the client connects, accept then return the file descriptor...
Definition: quick_socket.cpp:83
int create_server(const char *fname)
Create a unix socket at fname, and a server for it Returns the server file descriptor.
Definition: quick_socket.cpp:39
static int sock
Definition: dr_external_ss_events.cpp:14
int create_client(const char *const sock_name)
Create a client for a unix socket Joins the unix socked located at sock_name Returns the file descrip...
Definition: quick_socket.cpp:64