23#ifndef NET_SOCK_ASYNC_H
24#define NET_SOCK_ASYNC_H
32#if defined(SOCK_HAS_ASYNC) || defined(DOXYGEN)
33#if defined(MODULE_SOCK_DTLS) || defined(DOXYGEN)
70#if defined(MODULE_SOCK_IP) || defined(DOXYGEN)
88#if defined(MODULE_SOCK_TCP) || defined(DOXYGEN)
123#if defined(MODULE_SOCK_UDP) || defined(DOXYGEN)
141#if defined(SOCK_HAS_ASYNC_CTX) || defined(DOXYGEN)
144#if defined(MODULE_SOCK_DTLS) || defined(DOXYGEN)
162#if defined(MODULE_SOCK_IP) || defined(DOXYGEN)
180#if defined(MODULE_SOCK_TCP) || defined(DOXYGEN)
214#if defined(MODULE_SOCK_UDP) || defined(DOXYGEN)
void sock_udp_set_cb(sock_udp_t *sock, sock_udp_cb_t cb, void *cb_arg)
Gets the asynchronous event context from sock object.
void(* sock_tcp_queue_cb_t)(sock_tcp_queue_t *queue, sock_async_flags_t flags, void *arg)
Event callback for sock_tcp_queue_t.
sock_async_ctx_t * sock_tcp_get_async_ctx(sock_tcp_t *sock)
Gets the asynchronous event context from sock object.
sock_async_ctx_t * sock_tcp_queue_get_async_ctx(sock_tcp_queue_t *queue)
Gets the asynchronous event context from TCP listening queue.
void(* sock_udp_cb_t)(sock_udp_t *sock, sock_async_flags_t flags, void *arg)
Event callback for sock_udp_t.
void sock_tcp_queue_set_cb(sock_tcp_queue_t *queue, sock_tcp_queue_cb_t cb, void *cb_arg)
Sets event callback for sock_tcp_queue_t.
void sock_dtls_set_cb(sock_dtls_t *sock, sock_dtls_cb_t cb, void *cb_arg)
Sets the asynchronous event context from sock object.
void sock_ip_set_cb(sock_ip_t *sock, sock_ip_cb_t cb, void *cb_arg)
Sets event callback for sock_ip_t.
void sock_tcp_set_cb(sock_tcp_t *sock, sock_tcp_cb_t cb, void *cb_arg)
Sets event callback for sock_tcp_t.
void(* sock_tcp_cb_t)(sock_tcp_t *sock, sock_async_flags_t flags, void *arg)
Event callback for sock_tcp_t.
void(* sock_ip_cb_t)(sock_ip_t *sock, sock_async_flags_t flags, void *arg)
Event callback for sock_ip_t.
bool sock_dtls_get_event_session(sock_dtls_t *sock, sock_dtls_session_t *session)
Gets the asynchronous event session from sock object.
sock_async_ctx_t * sock_ip_get_async_ctx(sock_ip_t *sock)
Gets the asynchronous event context from sock object.
sock_async_ctx_t * sock_udp_get_async_ctx(sock_udp_t *sock)
Gets the asynchronous event context from sock object.
void(* sock_dtls_cb_t)(sock_dtls_t *sock, sock_async_flags_t flags, void *arg)
Event callback for sock_dtls_t.
sock_async_ctx_t * sock_dtls_get_async_ctx(sock_dtls_t *sock)
Gets the asynchronous event context from sock object.
Type definitions for asynchronous socks with Event Queue.
Asynchronous context for Asynchronous sock with event API.
Information about remote client connected to the server.
Information about DTLS sock.
Definitions for sock extension for asynchronous access.