Théophile Bastian
94f42d08c0
Clean up dramatically the codebase by assuming the server has only a single connection at any time.
13 lines
289 B
C++
13 lines
289 B
C++
#pragma once
|
|
|
|
#include "UdpVpn.hpp"
|
|
|
|
class UdpVpnClient: public UdpVpn {
|
|
public:
|
|
UdpVpnClient(const struct sockaddr_in6& server);
|
|
|
|
protected:
|
|
virtual void acquire_peer(
|
|
TunnelledPacket& packet,
|
|
const sockaddr_in6& peer_ext_addr);
|
|
};
|