lib45d
45Drives C++ Library Development Documentation
|
23 #include <45d/socket/SocketBase.hpp>
int io_fd_
Connection fd.
Definition: SocketBase.hpp:278
Unix Socket Client class. Used for IPC through a named socket inode.
Definition: UnixSocketClient.hpp:34
struct sockaddr_un server_addr_
Unix socket address struct.
Definition: UnixSocketClient.hpp:63
UnixSocketClient(const std::string &path)
Construct a new Unix Socket Client object.
Definition: UnixSocketClient.hpp:41
Thrown when the socket address is too long.
Definition: Exceptions.hpp:57
45Drives namespace
Definition: Bytes.hpp:27
Base Unix Socket Class for opening and closing the socket.
Definition: SocketBase.hpp:57
int fd_
File descriptor of socket.
Definition: SocketBase.hpp:277
int connect()
Make connection to socket.
Definition: UnixSocketClient.hpp:54
Thrown when connect() fails.
Definition: Exceptions.hpp:89