librats
Features
Quick Start
API Reference
GitHub
Back to Site
Loading...
Searching...
No Matches
dht_service.h
Go to the documentation of this file.
1
#pragma once
2
22
#include "librats/util/rats_export.h"
23
24
namespace
librats
{
25
26
class
DhtClient;
27
28
struct
RATS_API
DhtService
{
29
virtual
~DhtService
() =
default
;
30
33
virtual
DhtClient*
dht_client
() = 0;
34
};
35
36
}
// namespace librats
librats
Definition
node.h:73
librats::DhtService
Definition
dht_service.h:28
librats::DhtService::~DhtService
virtual ~DhtService()=default
librats::DhtService::dht_client
virtual DhtClient * dht_client()=0
The primary live DHT client (IPv4 preferred, IPv6 as fallback), or nullptr if neither family is curre...