mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 04:21:51 +00:00
add NetworkEngine::processMessage
This commit is contained in:
1 parent
2a61d79b42
commit
f93fb92ff5
6 files changed
+363
-186
No files matched your search
@@ -21,6 +21,13 @@
|
||||
|
||||
namespace dht {
|
||||
|
||||
static constexpr InfoHash zeroes {};
|
||||
static constexpr InfoHash ones = {std::array<uint8_t, HASH_LEN>{{
|
||||
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
|
||||
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
|
||||
0xFF, 0xFF, 0xFF, 0xFF
|
||||
}}};
|
||||
|
||||
std::string
|
||||
dht::print_addr(const sockaddr* sa, socklen_t slen)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user