SocketInterface
Data Structures | |
struct | csp_socket_handle_t |
Unix socket driver handle. More... | |
Enumerations | |
enum | csp_if_socket_modes { CSP_SOCKET_SERVER = 0, CSP_SOCKET_CLIENT } |
Enum for csp socket mode. More... | |
Functions | |
int | csp_socket_init (csp_iface_t *socket_iface, csp_socket_handle_t *socket_driver) |
Init function for CSP socket interface. More... | |
Data Structure Documentation
struct csp_socket_handle_t |
Unix socket driver handle.
Data Fields | |
int | socket_handle |
Field Documentation
int csp_socket_handle_t::socket_handle |
Low level socket handle
Enumeration Type Documentation
enum csp_if_socket_modes |
Function Documentation
int csp_socket_init | ( | csp_iface_t * | socket_iface, |
csp_socket_handle_t * | socket_driver | ||
) |
Init function for CSP socket interface.
- Parameters
-
socket_iface socket_driver
- Returns
- int CSP_ERR_NONE if success, otherwise error