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 |
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]