Jpp test-rotations-old
the software that should make you happy
|
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 | |
namespace | JSYSTEM |
Auxiliary classes and methods for operating system calls. | |
namespace | JPP |
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES). | |
Functions | |
std::string | JSYSTEM::getHostname () |
Get host name. | |
std::string | JSYSTEM::getHostname (const int ip) |
Get host name. | |
int | JSYSTEM::getIPnumber (const std::string &host_name) |
Get IP number. | |
int | JSYSTEM::getIPnumber () |
Get IP number. | |
std::string | JSYSTEM::getIPaddress (const int ip) |
Get IP address (decimal-dot notation). | |
std::string | JSYSTEM::getIPaddress () |
Get IP address (decimal-dot notation). | |
unsigned short | JSYSTEM::getSubaddress (const int ip) |
Get host identifier within network. | |
unsigned short | JSYSTEM::getSubaddress () |
Get host identifier within network. | |
std::vector< std::string > | JSYSTEM::getListOfIPaddresses () |
Get list of IP address (decimal-dot notation). | |
Variables | |
static const JCompareEndian | JSYSTEM::compareEndian |
Function object operator. | |
Hostname and IP address functions.
Definition in file JNetwork.hh.
|
private |
Definition at line 56 of file JNetwork.hh.