Labyrinth
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
Public Member Functions | Protected Member Functions | List of all members
LxS::Network::Server Class Reference

server serving internet connections More...

#include <server.hpp>

Inheritance diagram for LxS::Network::Server:
Inheritance graph
Collaboration diagram for LxS::Network::Server:
Collaboration graph

Public Member Functions

void SetTCPPort (int p)
 port on which to listen
 
int GetTCPPort ()
 get port
 
void Listen ()
 start server
 
void StopServer ()
 stop server
 
bool IsRunning ()
 is server running?
 
virtual ~Server ()
 dtor
 

Protected Member Functions

virtual void ServiceNewConnection (int fd, sockaddr *sa)
 if connection is received, thread for it is spawned and fd and addr is given.
 

Detailed Description

server serving internet connections


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