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::set_sock_cloexec | ( | ) |
std::string wibble::net::Server::host |
std::string wibble::net::Server::port |
int wibble::net::Server::sock |
int wibble::net::Server::socktype |