28#ifndef COAP_RXBUFFER_SIZE
29#define COAP_RXBUFFER_SIZE 1472
37#ifndef COAP_MAX_EPOLL_EVENTS
38#define COAP_MAX_EPOLL_EVENTS 10
43#define coap_closesocket closesocket
44#define COAP_SOCKET_ERROR SOCKET_ERROR
45#define COAP_INVALID_SOCKET INVALID_SOCKET
48#define coap_closesocket close
49#define COAP_SOCKET_ERROR (-1)
50#define COAP_INVALID_SOCKET (-1)
Representation of network addresses.
uint16_t coap_socket_flags_t
const char * coap_socket_strerror(void)
@ COAP_NACK_NOT_DELIVERABLE
@ COAP_NACK_TOO_MANY_RETRIES
@ COAP_NACK_TLS_LAYER_FAILED
@ COAP_NACK_WS_LAYER_FAILED
coap_address_t remote
remote address and port
coap_address_t local
local address and port
Multi-purpose address abstraction.