2020-06-05 16:14:49 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "UdpVpn.hpp"
|
|
|
|
|
|
|
|
class UdpVpnClient: public UdpVpn {
|
|
|
|
public:
|
|
|
|
UdpVpnClient(const struct sockaddr_in6& server);
|
2020-07-22 17:04:22 +02:00
|
|
|
~UdpVpnClient();
|
2020-06-05 16:14:49 +02:00
|
|
|
|
|
|
|
protected:
|
2020-06-15 20:21:07 +02:00
|
|
|
virtual void acquire_peer(
|
2020-06-26 19:41:55 +02:00
|
|
|
VpnDataPacket& packet,
|
2020-06-15 20:21:07 +02:00
|
|
|
const sockaddr_in6& peer_ext_addr);
|
2020-06-05 16:14:49 +02:00
|
|
|
};
|