mongo::SockAddr Struct Reference
#include <sock.h>
List of all members.
Detailed Description
Definition at line 135 of file sock.h.
Constructor & Destructor Documentation
| mongo::SockAddr::SockAddr |
( |
|
) |
[inline] |
| mongo::SockAddr::SockAddr |
( |
int |
sourcePort |
) |
|
| mongo::SockAddr::SockAddr |
( |
const char * |
ip, |
|
|
int |
port | |
|
) |
| | |
Member Function Documentation
template<typename T >
| const T& mongo::SockAddr::as |
( |
|
) |
const [inline] |
template<typename T >
| T& mongo::SockAddr::as |
( |
|
) |
[inline] |
| string mongo::SockAddr::getAddr |
( |
|
) |
const [inline] |
| unsigned mongo::SockAddr::getPort |
( |
|
) |
const [inline] |
| sa_family_t mongo::SockAddr::getType |
( |
|
) |
const [inline] |
| bool mongo::SockAddr::isLocalHost |
( |
|
) |
const |
| bool mongo::SockAddr::operator!= |
( |
const SockAddr & |
r |
) |
const [inline] |
| bool mongo::SockAddr::operator< |
( |
const SockAddr & |
r |
) |
const [inline] |
| bool mongo::SockAddr::operator== |
( |
const SockAddr & |
r |
) |
const [inline] |
| sockaddr* mongo::SockAddr::raw |
( |
|
) |
[inline] |
| const sockaddr* mongo::SockAddr::raw |
( |
|
) |
const [inline] |
| string mongo::SockAddr::toString |
( |
bool |
includePort = true |
) |
const [inline] |
Member Data Documentation
The documentation for this struct was generated from the following file: