Asynchronous sock using Event Queue definitions. More...
Asynchronous sock using Event Queue definitions.
Definition in file event.h.
#include "event.h"#include "net/sock/ip.h"#include "net/sock/tcp.h"#include "net/sock/udp.h"#include "net/sock/async.h"
Include dependency graph for event.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| void | sock_dtls_event_init (sock_dtls_t *sock, event_queue_t *ev_queue, sock_dtls_cb_t handler, void *handler_arg) |
| Makes a DTLS sock able to handle asynchronous events using Event Queue. More... | |
| void | sock_dtls_event_close (sock_dtls_t *sock) |
| Close a possibly async DTLS socket. More... | |
| void | sock_ip_event_init (sock_ip_t *sock, event_queue_t *ev_queue, sock_ip_cb_t handler, void *handler_arg) |
| Makes a raw IPv4/IPv6 sock able to handle asynchronous events using Event Queue. More... | |
| void | sock_ip_event_close (sock_ip_t *sock) |
| Close a possibly async IP socket. More... | |
| void | sock_tcp_event_init (sock_tcp_t *sock, event_queue_t *ev_queue, sock_tcp_cb_t handler, void *handler_arg) |
| Makes a TCP sock able to handle asynchronous events using Event Queue. More... | |
| void | sock_tcp_event_close (sock_tcp_t *sock) |
| Close a possibly async TCP socket. More... | |
| void | sock_tcp_queue_event_init (sock_tcp_queue_t *queue, event_queue_t *ev_queue, sock_tcp_queue_cb_t handler, void *handler_arg) |
| Makes a TCP listening queue able to handle asynchronous events using Event Queue. More... | |
| void | sock_udp_event_init (sock_udp_t *sock, event_queue_t *ev_queue, sock_udp_cb_t handler, void *handler_arg) |
| Makes a UDP sock able to handle asynchronous events using Event Queue. More... | |
| void | sock_udp_event_close (sock_udp_t *sock) |
| Close a possibly async UDP socket. More... | |
| void | sock_event_close (sock_async_ctx_t *async_ctx) |
| clear any pending socket async events More... | |