5#ifndef WPINET_PORTFORWARDER_H_
6#define WPINET_PORTFORWARDER_H_
41 unsigned int remotePort);
54 std::unique_ptr<Impl> m_impl;
Forward ports to another host.
Definition: PortForwarder.h:19
void Add(unsigned int port, std::string_view remoteHost, unsigned int remotePort)
Forward a local TCP port to a remote host and port.
PortForwarder & operator=(const PortForwarder &)=delete
static PortForwarder & GetInstance()
Get an instance of the PortForwarder class.
void Remove(unsigned int port)
Stop TCP forwarding on a port.
PortForwarder(const PortForwarder &)=delete
basic_string_view< char > string_view
Definition: core.h:520
/file This file defines the SmallVector class.
Definition: AprilTagFieldLayout.h:18