VSF Documented
|
#include <vsf_socket.h>
Data Fields | ||
vk_socket_feature_t | feature | |
vsf_err_t(* | socket )(vk_socket_t *socket, int family, int protocol) | |
vsf_err_t(* | close )(vk_socket_t *socket) | |
vsf_err_t(* | bind )(vk_socket_t *socket, const vk_socket_addr_t *addr) | |
vsf_err_t(* | listen )(vk_socket_t *socket, int backlog) | |
vsf_err_t(* | connect )(vk_socket_t *socket, const vk_socket_addr_t *remote_addr) | |
vsf_err_t(* | accept )(vk_socket_t *socket, vk_socket_addr_t *remote_addr) | |
vsf_err_t(* | send )(vk_socket_t *socket, const void *buf, size_t len, int flags, const vk_socket_addr_t *remote_addr) | |
vsf_err_t(* | recv )(vk_socket_t *socket, void *buf, size_t len, int flags, const vk_socket_addr_t *remote_addr) | |
struct { | ||
struct { | ||
vsf_err_t(* gethostbyname )(const char *name, vk_netdrv_addr_t *addr) | ||
} dns | ||
} | protocols | |
vk_socket_feature_t vk_socket_op_t::feature |
vsf_err_t(* vk_socket_op_t::socket) (vk_socket_t *socket, int family, int protocol) |
vsf_err_t(* vk_socket_op_t::close) (vk_socket_t *socket) |
vsf_err_t(* vk_socket_op_t::bind) (vk_socket_t *socket, const vk_socket_addr_t *addr) |
vsf_err_t(* vk_socket_op_t::listen) (vk_socket_t *socket, int backlog) |
vsf_err_t(* vk_socket_op_t::connect) (vk_socket_t *socket, const vk_socket_addr_t *remote_addr) |
vsf_err_t(* vk_socket_op_t::accept) (vk_socket_t *socket, vk_socket_addr_t *remote_addr) |
vsf_err_t(* vk_socket_op_t::send) (vk_socket_t *socket, const void *buf, size_t len, int flags, const vk_socket_addr_t *remote_addr) |
vsf_err_t(* vk_socket_op_t::recv) (vk_socket_t *socket, void *buf, size_t len, int flags, const vk_socket_addr_t *remote_addr) |
vsf_err_t(* vk_socket_op_t::gethostbyname) (const char *name, vk_netdrv_addr_t *addr) |
struct { ... } vk_socket_op_t::dns |
struct { ... } vk_socket_op_t::protocols |