congestvpn/UdpVpnClient.hpp

14 lines
312 B
C++

#pragma once
#include "UdpVpn.hpp"
class UdpVpnClient: public UdpVpn {
public:
UdpVpnClient(const struct sockaddr_in6& server);
~UdpVpnClient();
protected:
virtual void acquire_peer(
VpnDataPacket& packet,
const sockaddr_in6& peer_ext_addr);
};