4 #include <sys/socket.h> 78 connect(path.c_str(), socket_flags);
93 "unix_stream_client::connect: Already connected!",
false);
101 "unix_stream_client::unix_stream_client: Could " 102 "not create and connect UNIX socket!");
118 connect(path.c_str(), socket_flags);
Contains libsocket elements.
This class is instantiated and thrown when an error occurs. If there's an error somewhere in libsocke...
int create_unix_stream_socket(const char *path, int flags)
Create and connect a new UNIX STREAM socket.
unix_stream_client(void)
Constructor.
int sfd
sfd is the sockets API file descriptor
void connect(const char *path, int socket_flags=0)
Connect socket.