summaryrefslogtreecommitdiff
path: root/ot_socket.h
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2026-10-29 00:53:50 +0100
committerDirk Engling <erdgeist@erdgeist.org>2026-10-29 00:53:50 +0100
commit0f95c7d1056cab5bd8c6334cf601349ac4631457 (patch)
treec7c27709ef3695659ab4b743d7ae359d4ece272b /ot_socket.h
parent2812a6795149f68226e940212c511b7c625c81d5 (diff)
Revert last wake-up experiment. Having each udp worker wake up once a second to check if the tracker stops is wasteful
Diffstat (limited to 'ot_socket.h')
-rw-r--r--ot_socket.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/ot_socket.h b/ot_socket.h
index 9340d0d..f73a5c9 100644
--- a/ot_socket.h
+++ b/ot_socket.h
@@ -39,10 +39,6 @@ int socket_is_connected(int s);
39int socket_accept(int s, ot_ip6 ip, uint16_t *port); 39int socket_accept(int s, ot_ip6 ip, uint16_t *port);
40int socket_set_blocking(int s, int blocking); 40int socket_set_blocking(int s, int blocking);
41 41
42/* Bound how long a blocking read waits, so the thread sitting in one gets to
43 look at the running flag now and then */
44int socket_set_timeout(int s, int seconds);
45
46ssize_t socket_recv(int s, void *buf, size_t len, ot_ip6 ip, uint16_t *port); 42ssize_t socket_recv(int s, void *buf, size_t len, ot_ip6 ip, uint16_t *port);
47ssize_t socket_send(int s, const void *buf, size_t len, const ot_ip6 ip, uint16_t port); 43ssize_t socket_send(int s, const void *buf, size_t len, const ot_ip6 ip, uint16_t port);
48 44