#include <socket.h>
Public Types | |
enum | address_type_t { ADDRESS_TYPE_UNSPEC = 0, ADDRESS_TYPE_INET = 1, ADDRESS_TYPE_INET6 = 2 } |
Public Member Functions | |
virtual u_result | getAddressAsString (char *buffer, size_t buffersize) const |
virtual address_type_t | getAddressType () const |
const void * | getPlatformData () const |
virtual int | getPort () const |
virtual u_result | getRawAddress (_u8 *buffer, size_t bufferSize) const |
SocketAddress & | operator= (const SocketAddress &) |
virtual u_result | setAddressFromString (const char *address_string, address_type_t=ADDRESS_TYPE_INET) |
virtual void | setAnyAddress (address_type_t=ADDRESS_TYPE_INET) |
virtual void | setBroadcastAddressIPv4 () |
virtual void | setLoopbackAddress (address_type_t=ADDRESS_TYPE_INET) |
virtual u_result | setPort (int port) |
SocketAddress () | |
SocketAddress (const char *addrString, int port, address_type_t=ADDRESS_TYPE_INET) | |
SocketAddress (void *platform_data) | |
SocketAddress (const SocketAddress &) | |
virtual | ~SocketAddress () |
Static Public Member Functions | |
static size_t | LoopUpHostName (const char *hostname, const char *sevicename, std::vector< SocketAddress > &addresspool, bool performDNS=true, address_type_t=ADDRESS_TYPE_INET) |
Protected Attributes | |
void * | _platform_data |
rp::net::SocketAddress::SocketAddress | ( | ) |
Definition at line 39 of file linux/net_socket.cpp.
rp::net::SocketAddress::SocketAddress | ( | const char * | addrString, |
int | port, | ||
SocketAddress::address_type_t | type = ADDRESS_TYPE_INET |
||
) |
Definition at line 55 of file linux/net_socket.cpp.
rp::net::SocketAddress::SocketAddress | ( | void * | platform_data | ) |
Definition at line 67 of file linux/net_socket.cpp.
rp::net::SocketAddress::SocketAddress | ( | const SocketAddress & | src | ) |
Definition at line 47 of file linux/net_socket.cpp.
|
virtual |
Definition at line 78 of file linux/net_socket.cpp.
|
virtual |
Definition at line 154 of file linux/net_socket.cpp.
|
virtual |
Definition at line 83 of file linux/net_socket.cpp.
|
inline |
|
virtual |
Definition at line 96 of file linux/net_socket.cpp.
Definition at line 216 of file linux/net_socket.cpp.
|
static |
Definition at line 175 of file linux/net_socket.cpp.
SocketAddress & rp::net::SocketAddress::operator= | ( | const SocketAddress & | src | ) |
Definition at line 71 of file linux/net_socket.cpp.
|
virtual |
Definition at line 123 of file linux/net_socket.cpp.
|
virtual |
Definition at line 276 of file linux/net_socket.cpp.
|
virtual |
Definition at line 265 of file linux/net_socket.cpp.
|
virtual |
Definition at line 238 of file linux/net_socket.cpp.
|
virtual |
Definition at line 108 of file linux/net_socket.cpp.