14 lines
255 B
C++
14 lines
255 B
C++
// Proxy.h
|
|
#pragma once
|
|
#include <string>
|
|
#include "SocketInterface.h"
|
|
|
|
class Proxy {
|
|
public:
|
|
Proxy(SocketInterface* outside_socket) : outside(outside_socket) {}
|
|
|
|
void run(std::string& peer_address);
|
|
|
|
private:
|
|
SocketInterface* outside;
|
|
};
|