co_socket_t Struct Reference
Public Attributes | |
co_obj_t | _header |
uint8_t | _exttype |
uint8_t | _len |
char * | uri |
co_fd_t * | fd |
co_obj_t * | rfd_lst |
bool | fd_registered |
struct sockaddr * | local |
struct sockaddr * | remote |
bool | listen |
int(* | init )(co_obj_t *self) |
int(* | destroy )(co_obj_t *self) |
int(* | hangup )(co_obj_t *self, co_obj_t *context) |
int(* | bind )(co_obj_t *self, const char *endpoint) |
int(* | connect )(co_obj_t *self, const char *endpoint) |
int(* | send )(co_obj_t *self, char *outgoing, size_t length) |
int(* | receive )(co_obj_t *self, co_obj_t *fd, char *incoming, size_t length) |
int(* | setopt )(co_obj_t *self, int level, int option, void *optval, socklen_t optvallen) |
int(* | getopt )(co_obj_t *self, int level, int option, void *optval, socklen_t optvallen) |
int(* | poll_cb )(co_obj_t *self, co_obj_t *context) |
int(* | register_cb )(co_obj_t *self, co_obj_t *context) |
unsigned int | events |
Detailed Description
path and state information for socket
The documentation for this struct was generated from the following file:
- src/socket.h
Generated on Fri Jun 6 2014 13:22:06 for commotiond by 1.8.7