Public Member Functions
utilmm::server_socket Class Reference

#include <socket.hh>

Inheritance diagram for utilmm::server_socket:
Inheritance graph

List of all members.

Public Member Functions

socketaccept () const
void bind (std::string const &to)
 server_socket (Domain domain, Type type, std::string const &bind_to, int backlog=256)
bool try_wait () const
void wait () const

Detailed Description

A socket class holding servers (i.e. listening sockets)

Definition at line 109 of file socket.hh.

Constructor & Destructor Documentation

utilmm::server_socket::server_socket ( Domain  domain,
Type  type,
std::string const &  bind_to,
int  backlog = 256 

Definition at line 195 of file

Member Function Documentation

Waits for an incoming connection If block is true, wait for a connection. If it is false, do not block and return NULL if there is no connection available

Definition at line 215 of file

void utilmm::server_socket::bind ( std::string const &  to)

Definition at line 203 of file

Checks if there is an incoming connection in the connection queue.

true if it is the case (i.e. accept() will return a socket) and false otherwise

Definition at line 212 of file

Waits for an incoming connection

Definition at line 210 of file

The documentation for this class was generated from the following files:

Author(s): Sylvain Joyeux/
autogenerated on Thu Jan 2 2014 11:38:31