15 #include <sys/types.h>
23 #ifndef COAP_RXBUFFER_SIZE
24 #define COAP_RXBUFFER_SIZE 1472
32 #ifndef COAP_MAX_EPOLL_EVENTS
33 #define COAP_MAX_EPOLL_EVENTS 10
38 #define coap_closesocket closesocket
39 #define COAP_SOCKET_ERROR SOCKET_ERROR
40 #define COAP_INVALID_SOCKET INVALID_SOCKET
43 #define coap_closesocket close
44 #define COAP_SOCKET_ERROR (-1)
45 #define COAP_INVALID_SOCKET (-1)
Representation of network addresses.
uint16_t coap_socket_flags_t
int coap_tcp_is_supported(void)
Check whether TCP is available.
@ COAP_NACK_NOT_DELIVERABLE
@ COAP_NACK_TOO_MANY_RETRIES
struct coap_addr_tuple_t coap_addr_tuple_t
const char * coap_socket_strerror(void)
coap_address_t remote
remote address and port
coap_address_t local
local address and port
multi-purpose address abstraction