ServidorTFG
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
conexion Class Reference
Inheritance diagram for conexion:
conexion_ssl

Public Member Functions

 conexion (config_reader &conf)
 conexion Object that launch the server and start the sessions More...
 
virtual void start_server ()
 start_server Start the server
 

Protected Member Functions

int create_socket (int port)
 create_socket Create the server socket More...
 

Protected Attributes

data_accesdata
 
config_readerconfig
 

Constructor & Destructor Documentation

◆ conexion()

conexion::conexion ( config_reader conf)

conexion Object that launch the server and start the sessions

Parameters
confConfiguration file

Member Function Documentation

◆ create_socket()

int conexion::create_socket ( int  port)
protected

create_socket Create the server socket

Parameters
portPort to listen the server
Returns
File descritor to listen the new conexions

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