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