mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
4330bfbf87
Crypto requests packets are packets that can be routed by nodes in the DHT. In this pull request I have merged both Natping requests and friend requests into one common packet (Crypto request packets). Both these packets should now only be distinguishable by the size of the data in them to an outside observer for an example on how to send and recieve data with these packets see: friend_requests.c Note that these packets are prefixed with id 32 (friend request packets) which means this change is compatible with the currently running DHT bootstrap servers. Also changed small thing in DHT_test.c |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
DHT.c | ||
DHT.h | ||
friend_requests.c | ||
friend_requests.h | ||
LAN_discovery.c | ||
LAN_discovery.h | ||
Lossless_UDP.c | ||
Lossless_UDP.h | ||
Messenger.c | ||
Messenger.h | ||
net_crypto.c | ||
net_crypto.h | ||
network.c | ||
network.h | ||
packets.h | ||
ping.c | ||
ping.h | ||
timer.c | ||
timer.h | ||
util.c | ||
util.h |