#include <sys/types.h>
#include "address.h"
Go to the source code of this file.
◆ coap_closesocket
| #define coap_closesocket close |
◆ COAP_INVALID_SOCKET
| #define COAP_INVALID_SOCKET (-1) |
◆ COAP_MAX_EPOLL_EVENTS
| #define COAP_MAX_EPOLL_EVENTS 10 |
◆ COAP_RXBUFFER_SIZE
| #define COAP_RXBUFFER_SIZE 1472 |
◆ COAP_SOCKET_ERROR
| #define COAP_SOCKET_ERROR (-1) |
◆ coap_addr_tuple_t
◆ coap_fd_t
◆ coap_socket_flags_t
◆ coap_nack_reason_t
| Enumerator |
|---|
| COAP_NACK_TOO_MANY_RETRIES | |
| COAP_NACK_NOT_DELIVERABLE | |
| COAP_NACK_RST | |
| COAP_NACK_TLS_FAILED | |
| COAP_NACK_ICMP_ISSUE | |
Definition at line 64 of file coap_io.h.
◆ coap_socket_strerror()
| const char* coap_socket_strerror |
( |
void |
| ) |
|
◆ coap_tcp_is_supported()
| int coap_tcp_is_supported |
( |
void |
| ) |
|
Check whether TCP is available.
- Returns
1 if support for TCP is enabled, or 0 otherwise.
Definition at line 33 of file coap_tcp.c.