proxylight/src/proxyserver.h

23 lines
456 B
C
Raw Normal View History

2021-02-25 15:48:59 +01:00
#ifndef PROXYSERVER_H
#define PROXYSERVER_H
#include <QTcpServer>
#include <QObject>
class ProxyServer : public QTcpServer
{
Q_OBJECT
public:
2021-02-25 16:45:12 +01:00
ProxyServer(int localPort, int remotePort, const QString &remoteHost, const QString &serverName, const QString &serverBind);
2021-02-25 15:48:59 +01:00
protected:
void incomingConnection(qintptr socketDescriptor);
private:
int p_remotePort;
QString p_remoteHost;
QString p_serverName;
};
#endif // PROXYSERVER_H