dn_socket.h
Go to the documentation of this file.
1 #ifndef DN_SOCKET_H_
2 #define DN_SOCKET_H_
3 
36 #ifndef _DN_EXP_SOCKET
37 #define _DN_EXP_SOCKET
38 #endif /* _DN_EXP_SOCKET */
39 
40 #ifdef __cplusplus
41 extern "C" {
42 #endif
43 
52 _DN_EXP_SOCKET HRESULT socket_open(int type, int *sock);
53 
62 
69 _DN_EXP_SOCKET HRESULT socket_bind(const struct CONN_PARAM_ETH *param, int *sock);
70 
78 
79 #ifdef __cplusplus
80 }
81 #endif
82 
83 #endif /* DN_SOCKET_H_ */
unsigned uint32_t
Definition: stdint.h:43
#define _DN_EXP_SOCKET
Definition: dn_socket.h:37
int32_t HRESULT
Definition: dn_common.h:61
_DN_EXP_SOCKET HRESULT socket_close(int *sock)
Closes the socket.
Definition: dn_socket.c:176
_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.
Definition: dn_socket.c:211
A type definition for Ethernet connection parameters.
Definition: dn_device.h:144
_DN_EXP_SOCKET HRESULT socket_set_timeout(int sock, uint32_t timeout)
Sets timeout value to the socket.
Definition: dn_socket.c:255
_DN_EXP_SOCKET HRESULT socket_open(int type, int *sock)
Creates a socket.
Definition: dn_socket.c:129


bcap_core
Author(s): DENSO WAVE INCORPORATED
autogenerated on Mon Jun 10 2019 13:12:20