![]() |
jsocketpp 1.0
A cross-platform C++20 socket library.
|
Functions | |
void | test_tcp (const Port port) |
Test TCP server functionality: accept, receive, send, close. | |
void | test_udp (const Port port) |
Test UDP server functionality: receive, send, close. | |
void | test_unix (const std::string &path) |
void | test_error_handling () |
Test error handling by attempting to bind to an invalid port. | |
void | test_unix (const string &path) |
Test Unix domain socket server functionality (POSIX only). | |
int | main () |
int main | ( | ) |
void test_error_handling | ( | ) |
Test error handling by attempting to bind to an invalid port.
void test_tcp | ( | Port | port | ) |
Test TCP server functionality: accept, receive, send, close.
void test_udp | ( | Port | port | ) |
Test UDP server functionality: receive, send, close.
void test_unix | ( | const std::string & | path | ) |
void test_unix | ( | const string & | path | ) |
Test Unix domain socket server functionality (POSIX only).