Jpp
|
Hostname and IP address functions. More...
#include <unistd.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <string.h>
#include <sstream>
#include "JLang/JException.hh"
Go to the source code of this file.
Namespaces | |
JSYSTEM | |
Auxiliary classes and methods for operating system calls. | |
JPP | |
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... | |
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 54 of file JNetwork.hh.