30#ifndef COAP_RXBUFFER_SIZE
31#define COAP_RXBUFFER_SIZE 1472
39#ifndef COAP_MAX_EPOLL_EVENTS
40#define COAP_MAX_EPOLL_EVENTS 10
45#define coap_closesocket closesocket
46#define COAP_SOCKET_ERROR SOCKET_ERROR
47#define COAP_INVALID_SOCKET INVALID_SOCKET
50#define coap_closesocket close
51#define COAP_SOCKET_ERROR (-1)
52#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.