Pol  Revision:cb584c9
Pol::Clib::SocketListener Class Reference

#include <socketsvc.h>

Public Member Functions

 SocketListener (unsigned short port)
 SocketListener (unsigned short port, Socket::option opt)
void accept (Socket &newsck)
bool GetConnection (unsigned int timeout_sec)

Private Attributes

Socket _listen_sck


class SocketClientThread

Detailed Description

Definition at line 16 of file socketsvc.h.

Constructor & Destructor Documentation

Pol::Clib::SocketListener::SocketListener ( unsigned short  port)
Pol::Clib::SocketListener::SocketListener ( unsigned short  port,
Socket::option  opt 

Member Function Documentation

void Pol::Clib::SocketListener::accept ( Socket newsck)
bool Pol::Clib::SocketListener::GetConnection ( unsigned int  timeout_sec)

Friends And Related Function Documentation

friend class SocketClientThread

Definition at line 25 of file socketsvc.h.

Member Data Documentation

Socket Pol::Clib::SocketListener::_listen_sck

Definition at line 28 of file socketsvc.h.

Referenced by accept(), GetConnection(), and SocketListener().

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