libcommonc++
0.7
|
#include "commonc++/Network.h++"
#include "commonc++/ByteOrder.h++"
#include "commonc++/DynamicArray.h++"
#include "commonc++/System.h++"
#include <unistd.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <net/if.h>
#include <sys/ioctl.h>
#include <cstring>
#include <cerrno>
#include <algorithm>
Namespaces | |
ccxx | |
Macros | |
#define | __MAKE_ADDR(A) |
Functions | |
static int | copyNameArray (char **src, char *buf, size_t bufsz) |
static int | copyAddrArray (char **src, char *buf, size_t addrsz, size_t bufsz) |
static struct hostent * | copyStructHostent (struct hostent *rhe, struct hostent *result, char *buffer, int buflen) |
static struct servent * | copyStructServent (struct servent *rse, struct servent *result, char *buffer, int buflen) |
Variables | |
static const char * | __protoNames [] = { NULL, "tcp", "udp" } |
#define __MAKE_ADDR | ( | A | ) |