libnavajo
web server for static and dynamic pages developement in C++
Macros | Functions
nvjSocket.h File Reference

posix socket's facilities More...

#include <sys/socket.h>
#include <netinet/tcp.h>
#include <unistd.h>
#include <strings.h>
#include <netdb.h>
#include <sys/poll.h>
#include <netinet/in.h>
#include <arpa/inet.h>
Include dependency graph for nvjSocket.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define setsockoptCompat   setsockopt
 
#define sendCompat   send
 

Functions

bool setSocketNoSigpipe (int socket, bool sigpipe=false)
 
int setSocketKeepAlive (int socket, bool keepAlive)
 
int setSocketDoLinger (int socket, bool dolinger)
 
bool setSocketSndRcvTimeout (int socket, time_t seconds, long int useconds=0)
 
bool setSocketTcpAckTimeout (int socket, int seconds, int milliseconds)
 
int setSocketNagleAlgo (int socket, bool naggle=false)
 

Detailed Description

posix socket's facilities

Author
T.Descombes (thier.nosp@m.ry.d.nosp@m.escom.nosp@m.bes@.nosp@m.gmail.nosp@m..com)
Version
1
Date
19/02/16