IBR-DTNSuite  0.12
vsocket.cpp File Reference
#include "ibrcommon/config.h"
#include "ibrcommon/net/vsocket.h"
#include "ibrcommon/thread/MutexLock.h"
#include "ibrcommon/Logger.h"
#include "ibrcommon/TimeMeasurement.h"
#include <sys/socket.h>
#include <netdb.h>
#include <netinet/tcp.h>
#include <sys/un.h>
#include <arpa/inet.h>
#include <algorithm>
#include <sys/types.h>
#include <errno.h>
#include <sstream>
#include <string.h>
#include <fcntl.h>
#include <signal.h>
#include <unistd.h>
Include dependency graph for vsocket.cpp:

Go to the source code of this file.

Namespaces

 ibrcommon
 

Constant Groups

 ibrcommon
 

Macros

#define __compat_pipe(a)   ::pipe(a)
 
#define piperead(a, b, c)   ::read(a,b,c)
 
#define pipewrite(a, b, c)   ::write(a,b,c)
 

Functions

int ibrcommon::__compat_select (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout)
 

Macro Definition Documentation

#define __compat_pipe (   a)    ::pipe(a)

Definition at line 129 of file vsocket.cpp.

#define piperead (   a,
  b,
 
)    ::read(a,b,c)

Definition at line 130 of file vsocket.cpp.

#define pipewrite (   a,
  b,
 
)    ::write(a,b,c)

Definition at line 131 of file vsocket.cpp.