#include "../pch.h"#include <stdio.h>#include <sstream>#include "goodies.h"#include "../db/jsobj.h"#include "../db/cmdline.h"#include <sys/socket.h>#include <sys/types.h>#include <sys/un.h>#include <netinet/in.h>#include <netinet/tcp.h>#include <arpa/inet.h>#include <errno.h>#include <netdb.h>

Go to the source code of this file.
Classes | |
| class | mongo::ListeningSockets |
| struct | mongo::SockAddr |
Namespaces | |
| namespace | mongo |
Defines | |
| #define | AI_ADDRCONFIG 0 |
Typedefs | |
| typedef int | mongo::SOCKET |
Functions | |
| void | mongo::closesocket (int s) |
| void | mongo::disableNagle (int sock) |
| void | mongo::enableIPv6 (bool state=true) |
| string | mongo::getAddrInfoStrError (int code) |
| string | mongo::getHostName () |
| string | mongo::getHostNameCached () |
| string | mongo::hostbyname (const char *hostname) |
| bool | mongo::IPv6Enabled () |
| string | mongo::makeUnixSockPath (int port) |
| void | mongo::prebindOptions (int sock) |
| void | mongo::setSockTimeouts (int sock, double secs) |
Variables | |
| const int | mongo::INVALID_SOCKET = -1 |
| const int | mongo::MaxMTU = 16384 |
| const int | mongo::SOCK_FAMILY_UNKNOWN_ERROR = 13078 |
| SockAddr | mongo::unknownAddress |