|
wibble
1.1
|
Generic bind/listen/accept internet server. More...
#include <server.h>

Public Member Functions | |
| Server () | |
| ~Server () | |
| void | bind (const char *port, const char *host=NULL) |
| void | listen (int backlog=16) |
| void | set_sock_cloexec () |
Public Attributes | |
| std::string | host |
| std::string | port |
| int | socktype |
| int | sock |
| struct sigaction * | old_signal_actions |
| struct sigaction * | signal_actions |
Generic bind/listen/accept internet server.
| wibble::net::Server::Server | ( | ) |
| wibble::net::Server::~Server | ( | ) |
| void wibble::net::Server::bind | ( | const char * | port, |
| const char * | host = NULL |
||
| ) |
| void wibble::net::Server::listen | ( | int | backlog = 16 | ) |
| void wibble::net::Server::set_sock_cloexec | ( | ) |
| std::string wibble::net::Server::host |
| struct sigaction* wibble::net::Server::old_signal_actions |
| std::string wibble::net::Server::port |
| struct sigaction* wibble::net::Server::signal_actions |
| int wibble::net::Server::sock |
| int wibble::net::Server::socktype |
1.8.13