class Socket


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Public Static Methods

Public Members

Protected Methods


Detailed Description

static const int MAX_LISTEN_QUEUE

MAX_LISTEN_QUEUE

 Socket (const Iptuple& iptuple, EventLoop& e)

Socket

void  init_sockaddr (string addr, uint16_t local_port, struct sockaddr_storage& ss, 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.

EventLoop&  eventloop ()

eventloop

XorpFd  get_sock ()

get_sock

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 kobe.xorp.net on Wed Jan 7 19:11:04 2009, using kdoc 2.0a54+XORP.