- connection_handler
void connection_handler(UnixSocket peer_socket)
Undocumented in source. Be warned that the author may not have intended to support it.
- main
int main()
Undocumented in source. Be warned that the author may not have intended to support it.
- runClient
int runClient(sockaddr_un* socket_address)
Undocumented in source. Be warned that the author may not have intended to support it.
Test-suite for UnixSockets.
The tests involve unix sockets and forking processes, so are placed in this slowtest module.
FLAKY: the unittests in this module are very flaky, as they rely on making various system calls (fork(), waitpid(), epoll_wait(), epoll_ctl(), etc) which could, under certain environmental conditions, fail.