#include "Socket.hpp"
#include "SocketException.hpp"
#include "Debug.hpp"
#include "UtilTime.hpp"
#include <boost/lexical_cast.hpp>
#include <boost/thread/thread.hpp>
#include <errno.h>
#include <signal.h>
#include <poll.h>
#include <netdb.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>

Go to the source code of this file.
Defines | |
| #define | DEFAULT_BACKLOG 64 |
| Default backlog setting for listen sockets. | |
| #define | PACKET_SIZE 4096 |
| Size of the buffer when reading from a socket. | |
| #define | POLL_TIMEOUT 1000 |
| Poll timeout in milliseconds. | |
| #define | STOP_CODON "\255" |
| Message stop signififer. | |
| #define | STOP_CODON_CHAR '\255' |
| Message stop signififer. | |
Definition in file Socket.cpp.
1.5.3