| 
    Jpp
    
   | 
 
Hostname and IP address functions. More...
#include <unistd.h>#include <netdb.h>#include <sys/types.h>#include <ifaddrs.h>#include <string.h>#include <string>#include <sstream>#include <vector>#include "JLang/JException.hh"Go to the source code of this file.
Namespaces | |
| JSYSTEM | |
| Auxiliary classes and methods for operating system calls.  | |
| JPP | |
| This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).  | |
Functions | |
| std::string | JSYSTEM::getHostname () | 
| Get host name.  More... | |
| std::string | JSYSTEM::getHostname (const int ip) | 
| Get host name.  More... | |
| int | JSYSTEM::getIPnumber (const std::string &host_name) | 
| Get IP number.  More... | |
| int | JSYSTEM::getIPnumber () | 
| Get IP number.  More... | |
| std::string | JSYSTEM::getIPaddress (const int ip) | 
| Get IP address (decimal-dot notation).  More... | |
| std::string | JSYSTEM::getIPaddress () | 
| Get IP address (decimal-dot notation).  More... | |
| unsigned short | JSYSTEM::getSubaddress (const int ip) | 
| Get host identifier within network.  More... | |
| unsigned short | JSYSTEM::getSubaddress () | 
| Get host identifier within network.  More... | |
| std::vector< std::string > | JSYSTEM::getListOfIPaddresses () | 
| Get list of IP address (decimal-dot notation).  More... | |
Variables | |
| static const JCompareEndian | JSYSTEM::compareEndian | 
| Function object operator.  More... | |
Hostname and IP address functions.
Definition in file JNetwork.hh.
| const bool endian | 
Definition at line 56 of file JNetwork.hh.
 1.8.5