Shadow Stack  0.2
 All Classes Namespaces Files Functions Variables Typedefs Macros
Namespaces | Functions
quick_socket.hpp File Reference

Go to the source code of this file.

Namespaces

 QS
 

Functions

int QS::create_server (const char *fname)
 Create a unix socket at fname, and a server for it Returns the server file descriptor. More...
 
int QS::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 descriptor for the client. More...
 
int QS::accept_client (const int sock)
 Wait for a client to connect to sock Once the client connects, accept then return the file descriptor. More...