class Socket


Definition#include <socket.hh>
Inherited bySocketClient, SocketServer
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Static Methods

Protected Methods

Protected Members


Detailed Description

 Socket (int s, EventLoop& e)

Socket

 Socket (const Iptuple& iptuple, EventLoop& e)

Socket

void  init_sockaddr (struct sockaddr_in *name, struct in_addr addr, uint16_t port)

init_sockaddr

[static]

EventLoop&  eventloop ()

eventloop

int  get_sock ()

get_sock

bool  compare_remote_addr (struct in_addr addr)

compare_remote_addr

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 ()

create_socket

[protected]

struct in_addr  get_local_addr ()

get_local_addr

[protected]

uint16_t  get_local_port ()

get_local_port

[protected]

struct in_addr  get_remote_addr ()

get_remote_addr

[protected]

uint16_t  get_remote_port ()

get_remote_port

[protected]


Generated by: pavlin on possum.icir.org on Thu Aug 28 12:52:17 2003, using kdoc 2.0a54+XORP.