From a36d9a1b09a6632fd66ad67c7ba0c9692b058608 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Mon, 21 Nov 2022 22:13:04 +0100 Subject: fixes --- src/dht.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/dht.c (limited to 'src/dht.c') diff --git a/src/dht.c b/src/dht.c new file mode 100644 index 0000000..629bf26 --- /dev/null +++ b/src/dht.c @@ -0,0 +1,14 @@ +struct dht { + char id[20]; + int socket; +}; +struct node { + char id[20]; + int lost; + int sent; + int answers; + int malformed; + int received; + time_t last; + struct sockaddr addr; +}; -- cgit v1.2.3