36 #ifndef _DN_EXP_SOCKET 37 #define _DN_EXP_SOCKET
_DN_EXP_SOCKET HRESULT socket_close(int *sock)
Closes the socket.
_DN_EXP_SOCKET HRESULT socket_bind(const struct CONN_PARAM_ETH *param, int *sock)
Binds the socket with param's source address and source port.
A type definition for Ethernet connection parameters.
_DN_EXP_SOCKET HRESULT socket_set_timeout(int sock, uint32_t timeout)
Sets timeout value to the socket.
_DN_EXP_SOCKET HRESULT socket_open(int type, int *sock)
Creates a socket.