insd::clientConnect function
Purpose
Call this function from within a client process to create a new connection to a server process.
The caller needs to know the file path of the corresponding server process's socket file.
Syntax
insd::Connection* clientConnect(std::string sockfile)
sockfile is the path (including the filename) of the socket file that was created by the corresponding server process you wish to connect to.
The return value is a pointer to a new Connection object.
When you are done with the connection, you
must delete the Connection object using the C++
delete keyword, in order to free the resources it consumes.