Conscience Core
Namespaces | Functions
conscience_server_util.cpp File Reference
#include "conscience_server_util.h"
#include <arpa/inet.h>
#include <cstddef>
#include <cstring>
#include <ifaddrs.h>
#include <limits>
#include <net/if.h>
#include <netinet/in.h>
#include <sys/ioctl.h>
#include <sys/types.h>
#include <errno.h>
#include <fcntl.h>
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <sys/socket.h>
#include <unistd.h>

Namespaces

 conscience_utils
 

Functions

string conscience_utils::getLocalMacAddressAsHexString ()
 
optional< string > conscience_utils::resolveReachableIpAddress ()
 returns VPN address or public address, if found More...
 
optional< string > conscience_utils::resolveReachableLocalIpAddress ()
 returns local address, if found More...
 
string conscience_utils::getLocalIpAddress ()