Namespaces | Functions

ibrcommon/ibrcommon/net/vsocket.cpp File Reference

#include "ibrcommon/net/vsocket.h"
#include <ibrcommon/thread/MutexLock.h>
#include <ibrcommon/Logger.h>
#include <algorithm>
#include <netdb.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <netinet/tcp.h>
#include <sys/un.h>
#include <errno.h>
#include <sstream>
#include <string.h>
#include <fcntl.h>
#include <signal.h>
#include <arpa/inet.h>
Include dependency graph for vsocket.cpp:

Go to the source code of this file.

Namespaces

namespace  ibrcommon

Functions

int ibrcommon::sendto (ibrcommon::vsocket &sock, const void *buf, size_t n, const ibrcommon::vaddress &address, const unsigned int port)
int ibrcommon::recvfrom (int fd, char *data, size_t maxbuffer, std::string &address)
void ibrcommon::interrupt (ibrcommon::vsocket &sock, ibrcommon::Thread &th)
void ibrcommon::select (ibrcommon::vsocket &sock, std::list< int > &fds, struct timespec *tv)