blocxx
Namespaces | Functions

SocketUtils.cpp File Reference

#include "blocxx/BLOCXX_config.h"
#include "blocxx/SocketException.hpp"
#include "blocxx/SocketUtils.hpp"
#include "blocxx/Assertion.hpp"
#include "blocxx/Socket.hpp"
#include "blocxx/Format.hpp"
#include "blocxx/Thread.hpp"
#include "blocxx/System.hpp"
#include "blocxx/Select.hpp"
#include "blocxx/TimeoutTimer.hpp"
#include "blocxx/Mutex.hpp"
#include "blocxx/MutexLock.hpp"
#include "blocxx/PosixUnnamedPipe.hpp"
#include <ctype.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/time.h>
#include <sys/socket.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <cstring>
#include <cstdio>
#include <cerrno>

Go to the source code of this file.

Namespaces

namespace  BLOCXX_NAMESPACE
 

Taken from RFC 1321.


namespace  BLOCXX_NAMESPACE::SocketUtils

Functions

String BLOCXX_NAMESPACE::SocketUtils::inetAddrToString (UInt64 addr)
int BLOCXX_NAMESPACE::SocketUtils::waitForIO (SocketHandle_t fd, int timeOutSecs, SocketFlags::EWaitDirectionFlag forInput) BLOCXX_DEPRECATED
 Wait for input or output on a socket.
int BLOCXX_NAMESPACE::SocketUtils::waitForIO (SocketHandle_t fd, const Timeout &timeout, SocketFlags::EWaitDirectionFlag forInput)
 Wait for input or output on a socket.
String BLOCXX_NAMESPACE::SocketUtils::getFullyQualifiedHostName ()
 Get the fully qualified host name.