c-template
|
a generic tcp socket server using file descriptor socket_number it uses a dedicated pthread for accepting new client connections, with each connection being processed in another pthread in detached state. socket uses SO_REUSEADDR More...
#include <socket_server.h>
Data Fields | |
int | socket_number |
log_fn | log |
log_fnf | logf |
thread_logger * | thl |
pthread_t | thread |
wait_group_t * | wg |
a generic tcp socket server using file descriptor socket_number it uses a dedicated pthread for accepting new client connections, with each connection being processed in another pthread in detached state. socket uses SO_REUSEADDR
Definition at line 45 of file socket_server.h.
log_fn socket_server::log |
Definition at line 47 of file socket_server.h.
log_fnf socket_server::logf |
Definition at line 48 of file socket_server.h.
int socket_server::socket_number |
Definition at line 46 of file socket_server.h.
thread_logger* socket_server::thl |
Definition at line 49 of file socket_server.h.
pthread_t socket_server::thread |
Definition at line 50 of file socket_server.h.
wait_group_t* socket_server::wg |
Definition at line 52 of file socket_server.h.