|
MistServer
2.5.3-Pro-19-gf5e75b1 ( Generic_64)
|
A handy Socket wrapper library. More...
#include "socket.h"#include "timing.h"#include "defines.h"#include <sys/stat.h>#include <poll.h>#include <netdb.h>#include <sstream>#include <cstdlib>Macros | |
| #define | BUFFER_BLOCKSIZE 4096 |
| #define | SOCKETSIZE 51200ul |
Functions | |
| bool | isFDBlocking (int FD) |
| Internally used call to make an file descriptor blocking or not. More... | |
| void | setFDBlocking (int FD, bool blocking) |
| Internally used call to make an file descriptor blocking or not. More... | |
| std::string | uint2string (unsigned int i) |
A handy Socket wrapper library.
Written by Jaron Vietor in 2010 for DDVTech
| #define BUFFER_BLOCKSIZE 4096 |
| #define SOCKETSIZE 51200ul |
| bool isFDBlocking | ( | int | FD | ) |
Internally used call to make an file descriptor blocking or not.
| void setFDBlocking | ( | int | FD, |
| bool | blocking | ||
| ) |
Internally used call to make an file descriptor blocking or not.
| std::string uint2string | ( | unsigned int | i | ) |
1.8.11