|
reSIProcate/rutil
9694
|
Handles cross-platform sockets compatibility. More...
#include <cassert>#include <errno.h>#include <algorithm>#include "compat.hxx"#include "rutil/TransportType.hxx"

Go to the source code of this file.
Classes | |
| class | resip::FdSet |
| Object-oriented wrapper for your platform's file-descriptor set. More... | |
Namespaces | |
| namespace | resip |
dcm! -- add UnusedChecking(_enum) below; | |
Defines | |
| #define | WSANOTINITIALISED EPROTONOSUPPORT |
| #define | INVALID_SOCKET (-1) |
| #define | SOCKET_ERROR (-1) |
Typedefs | |
| typedef int | resip::Socket |
| typedef void(* | resip::AfterSocketCreationFuncPtr )(Socket s, int transportType, const char *file, int line) |
Functions | |
| void | resip::initNetwork () |
| set up network - does nothing in unix but needed for windows | |
| int | resip::getErrno () |
| bool | resip::makeSocketNonBlocking (Socket fd) |
| bool | resip::makeSocketBlocking (Socket fd) |
| int | resip::closeSocket (Socket fd) |
| int | resip::getSocketError (Socket fd) |
| int | resip::increaseLimitFds (unsigned int targetFds) |
| Returns negative on error, or number of (positive) allowed fds. | |
| int | resip::setSocketRcvBufLen (Socket fd, int buflen) |
Handles cross-platform sockets compatibility.
Definition in file Socket.hxx.
| #define INVALID_SOCKET (-1) |
Definition at line 95 of file Socket.hxx.
Referenced by resip::FdPollImplFdSet::addPollItem(), resip::FdPollImplFdSet::buildFdSet(), resip::FdPollImplFdSet::delPollItem(), resip::DnsUtil::getInterfaces(), getMessage(), resip::FdPollImplFdSet::modPollItem(), openPort(), resip::FdPollImplFdSet::processFdSet(), sendMessage(), resip::AresDnsPollItem::socket_poll_cb(), stunInitServer(), stunNatType(), stunOpenSocket(), stunServerProcess(), and stunTest().
| #define SOCKET_ERROR (-1) |
Definition at line 96 of file Socket.hxx.
Referenced by getMessage(), sendMessage(), and stunNatType().
| #define WSANOTINITIALISED EPROTONOSUPPORT |
Definition at line 82 of file Socket.hxx.
Referenced by resip::DnsUtil::getLocalHostName(), and stunParseHostName().
1.7.5.1