§ getHostName()
  
  | 
        
          | const std::string& enet::TcpServer::getHostName | ( |  | ) |  |  | inline | 
 
Get the decriptive name hot the host. 
- Returns
- the string requested 
 
 
§ getPort()
  
  | 
        
          | uint16_t enet::TcpServer::getPort | ( |  | ) |  |  | inline | 
 
Get the port number. 
- Returns
- The requested port number. 
 
 
§ setHostNane()
      
        
          | void enet::TcpServer::setHostNane | ( | const std::string & | _name | ) |  | 
      
 
set the Host name is the same things as set an Ip adress, but in test mode "127.0.0.1" or "localhost". 
- Parameters
- 
  
    | [in] | _name | Host name to connect. |  
 
 
 
§ setIpV4()
      
        
          | void enet::TcpServer::setIpV4 | ( | uint8_t | _fist, | 
        
          |  |  | uint8_t | _second, | 
        
          |  |  | uint8_t | _third, | 
        
          |  |  | uint8_t | _quatro | 
        
          |  | ) |  |  | 
      
 
Set the connection IP id. 
- Parameters
- 
  
    | [in] | _first | Firt number of the IP v4. |  | [in] | _second | Second number of the IP v4. |  | [in] | _third | Third number of the IP v4. |  | [in] | _quatro | Quatro number of the IP v4. |  
 
 
 
§ setPort()
      
        
          | void enet::TcpServer::setPort | ( | uint16_t | _port | ) |  | 
      
 
set the port number to connect or to spy 
- Parameters
- 
  
    | [in] | _port | Number of the port requested |  
 
 
 
§ waitNext()
Wait next extern connection. 
- Returns
- element with the connection 
 
 
The documentation for this class was generated from the following file: