class Socket


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Public Static Methods

Public Members

Protected Methods

Protected Members


Detailed Description

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

 Socket (const Iptuple& iptuple, EventLoop& e)

Socket

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.

EventLoop&  eventloop ()

eventloop

int  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

static const int UNCONNECTED

UNCONNECTED

[protected]

void  set_sock (int s)

set_sock

[protected]

void  close_socket ()

close_socket

[protected]

void  create_socket (const struct sockaddr *sin)

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 Apr 13 21:53:16 2005, using kdoc $.