Functions | |
| void * | server_thread_method (void *ptr) |
| void | test_single_connection (int sockfd, int dim, bool &success) |
| void | test_communication_with_dim (int sockfd, int dim, bool &success) |
| void | test_communication_with_dim_with_random (int sockfd, int upper_bound, bool &success) |
| void * | client_thread_method (void *ptr) |
| int | main (int argc, char **argv) |
Variables | |
| const string | close_conn_str = "close_conn" |
| This class tests the server functionality It simulates both server and client to check that we correctly send and receive the data. | |
| void* client_thread_method | ( | void * | ptr | ) |
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
| void* server_thread_method | ( | void * | ptr | ) |
| void test_communication_with_dim | ( | int | sockfd, | |
| int | dim, | |||
| bool & | success | |||
| ) |
| void test_communication_with_dim_with_random | ( | int | sockfd, | |
| int | upper_bound, | |||
| bool & | success | |||
| ) |
| void test_single_connection | ( | int | sockfd, | |
| int | dim, | |||
| bool & | success | |||
| ) |
| const string close_conn_str = "close_conn" |
This class tests the server functionality It simulates both server and client to check that we correctly send and receive the data.
1.4.7