libcoap 4.3.1
|
Default network I/O functions. More...
Go to the source code of this file.
Data Structures | |
struct | coap_addr_tuple_t |
Macros | |
#define | COAP_RXBUFFER_SIZE 1472 |
#define | COAP_MAX_EPOLL_EVENTS 10 |
#define | coap_closesocket close |
#define | COAP_SOCKET_ERROR (-1) |
#define | COAP_INVALID_SOCKET (-1) |
Typedefs | |
typedef int | coap_fd_t |
typedef uint16_t | coap_socket_flags_t |
typedef struct coap_addr_tuple_t | coap_addr_tuple_t |
Enumerations | |
enum | coap_nack_reason_t { COAP_NACK_TOO_MANY_RETRIES , COAP_NACK_NOT_DELIVERABLE , COAP_NACK_RST , COAP_NACK_TLS_FAILED , COAP_NACK_ICMP_ISSUE } |
Functions | |
const char * | coap_socket_strerror (void) |
int | coap_tcp_is_supported (void) |
Check whether TCP is available. More... | |
Default network I/O functions.
Definition in file coap_io.h.
typedef struct coap_addr_tuple_t coap_addr_tuple_t |
typedef uint16_t coap_socket_flags_t |
enum coap_nack_reason_t |
const char * coap_socket_strerror | ( | void | ) |
int coap_tcp_is_supported | ( | void | ) |
Check whether TCP is available.
1
if support for TCP is enabled, or 0
otherwise. Definition at line 38 of file coap_tcp.c.