| Home | C-Bits Package Documentation | Project Page |
#include <string>#include <sstream>#include <iostream>#include <iomanip>#include <string.h>#include <stdio.h>#include <errno.h>#include <cbits/SocketException.h>#include <cbits/Timing.h>#include <cbits/CriticalSection.h>#include <cbits/sockstreambuf.h>#include <cbits/ServerSocket.h>#include <sys/types.h>#include <sys/time.h>#include <sys/socket.h>#include <sys/select.h>#include <netdb.h>#include <netinet/in.h>#include <arpa/inet.h>#include <unistd.h>#include <fcntl.h>#include <cbits/portable_mutex.h>Include dependency graph for Socket.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
| namespace | cbits |
Defines | |
| #define | EXPORT |
| #define | ERRNO errno |
| #define | CLOSE_SOCKET(s) ::close((s)) |
| #define | GET_SOCKET_ERROR() errno |
| #define | STRERROR(a) strerror(a) |
| #define | SOCKET_IS_VALID(a) (0<(a)?true:false) |
| #define | SOCKET_EINTR EINTR |
| #define | SOCKET_EAGAIN EAGAIN |
| #define | SOCKET_ECONNRESET ECONNRESET |
| #define | elog *(this->getLogger())<<"ERROR "<<cbits::Socket::DateTime()<<" {"<<SOCKET_GET_THREADID<<"} "<<__FILE__<<" [line "<<__LINE__<<"]: " |
| Error logging output stream. More... | |
| #define | trace |
Functions | |
| std::ostream & | operator<< (std::ostream &os, const cbits::Socket::DateTime &dt) |
| \function Stream insertion operator used to insert date-time stamp into an output stream. More... | |
|
|
|
|
|
Error logging output stream.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Value: do \
{\
\
}while(false) |
|
||||||||||||
|
\function Stream insertion operator used to insert date-time stamp into an output stream.
|
|
|