Public Methods
Public Static Methods
- static void init_sockaddr (string addr, uint16_t local_port,
struct sockaddr *sin, size_t& len)
Public Members
Protected Methods
static const int SOCKET_BUFFER_SIZE
| SOCKET_BUFFER_SIZE |
static const int SOCKET_BUFFER_SIZE
| SOCKET_BUFFER_SIZE |
static const int MAX_LISTEN_QUEUE
| MAX_LISTEN_QUEUE |
void init_sockaddr (string addr, uint16_t local_port,
struct sockaddr *sin, size_t& len)
| init_sockaddr |
[static]
Given an address (IPv4 or IPv6) symbolic or numeric fill in the
provided structure.
Note: This method is provided as a service to other code and is
no longer used by this class. Don't remove it as the test code
uses it.
void create_listener ()
| create_listener |
void set_remote_host (const char *s)
| set_remote_host |
const char * get_remote_host ()
| get_remote_host |
void set_sock (XorpFd s)
| set_sock |
[protected]
void close_socket ()
| close_socket |
[protected]
void create_socket (const struct sockaddr *sin, int is_blocking)
| create_socket |
[protected]
const struct sockaddr * get_local_socket (size_t& len)
| get_local_socket |
[protected]
string get_local_addr ()
| get_local_addr |
[protected]
uint16_t get_local_port ()
| get_local_port |
[protected]
const struct sockaddr * get_bind_socket (size_t& len)
| get_bind_socket |
[protected]
const struct sockaddr * get_remote_socket (size_t& len)
| get_remote_socket |
[protected]
string get_remote_addr ()
| get_remote_addr |
[protected]
uint16_t get_remote_port ()
| get_remote_port |
[protected]
Generated by: pavlin on possum.icir.org on Wed Aug 2 15:36:33 2006, using kdoc $.