A collection of helper functions for implementing network communication.
Definition at line 112 of file networking.h.
#include <visiontransfer/networking.h>
|
static void | initNetworking () |
|
static addrinfo * | resolveAddress (const char *address, const char *service) |
|
static SOCKET | connectTcpSocket (const addrinfo *address) |
|
static void | setSocketTimeout (SOCKET socket, int timeoutMillisec) |
|
static void | closeSocket (SOCKET &socket) |
|
static void | setSocketBlocking (SOCKET socket, bool blocking) |
|
static void | enableReuseAddress (SOCKET socket, bool reuse) |
|
static void | bindSocket (SOCKET socket, const addrinfo *addressInfo) |
|
static SOCKET | acceptConnection (SOCKET socket, sockaddr_in &remoteAddress) |
|
static error_int_type | getErrno () |
|
static std::string | getErrorString (error_int_type error) |
|
static std::string | getLastErrorString () |
|
The documentation for this class was generated from the following files: