integrationtest.unixsocket.main

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.

Members

Functions

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.

Static variables

CLIENT_STRING
istring CLIENT_STRING;
Undocumented in source.
SERVER_STRING
istring SERVER_STRING;
Undocumented in source.

Meta

License

Boost Software License Version 1.0. See LICENSE_BOOST.txt for details. Alternatively, this file may be distributed under the terms of the Tango 3-Clause BSD License (see LICENSE_BSD.txt for details).