Back to Site
Loading...
Searching...
No Matches
hole_punch_service.h
Go to the documentation of this file.
1#pragma once
2
23#include "librats/util/rats_export.h"
25
26namespace librats {
27
28struct RATS_API HolePunchService {
29 virtual ~HolePunchService() = default;
30
35 virtual bool punch(const PeerId& target) = 0;
36};
37
38} // namespace librats
Definition node.h:73
Self-certifying peer identity.
virtual ~HolePunchService()=default
virtual bool punch(const PeerId &target)=0
Try to reach target by punching.