sock.h File Reference

#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>
Include dependency graph for sock.h:
This graph shows which files directly or indirectly include this file:

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

Define Documentation

#define AI_ADDRCONFIG   0

Definition at line 73 of file sock.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


mongodb
Author(s): Nate Koenig
autogenerated on Fri Jan 11 12:15:40 2013