Common sock API definitions. More...
Common sock API definitions.
Definition in file sock.h.
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | sock_ip_ep_t |
Abstract IP end point and end point for a raw IP sock object. More... | |
struct | _sock_tl_ep |
Common IP-based transport layer end point. More... | |
Macros | |
#define | SOCK_ADDR_ANY_NETIF (0) |
Special netif ID for "any interface". More... | |
#define | SOCK_IPV4_EP_ANY |
Address to bind to any IPv4 address. More... | |
#define | SOCK_IPV6_EP_ANY |
Address to bind to any IPv6 address. More... | |
#define | SOCK_NO_TIMEOUT (UINT32_MAX) |
Special value meaning "wait forever" (don't timeout) | |
Compile flags | |
#define | SOCK_HAS_IPV6 |
activate IPv6 support | |
#define | SOCK_HAS_ASYNC |
activate asynchronous event functionality More... | |
#define | SOCK_HAS_ASYNC_CTX |
Activate context for asynchronous events. More... | |
Sock flags | |
Common flags for Sock API | |
#define | SOCK_FLAGS_REUSE_EP (0x0001) |
allow to reuse end point on bind | |