[Redirector] Optimize code

This commit is contained in:
Connection Refused
2021-10-17 16:13:43 +08:00
parent 8098637e4e
commit cd5a215dc2
3 changed files with 3 additions and 2 deletions

View File

@@ -1,5 +1,7 @@
#include "DNSHandler.h"
#include "SocksHelper.h"
extern string dnsHost;
extern USHORT dnsPort;

View File

@@ -2,7 +2,6 @@
#ifndef DNSHANDLER_H
#define DNSHANDLER_H
#include "Based.h"
#include "SocksHelper.h"
namespace DNSHandler
{

View File

@@ -24,6 +24,6 @@ void udpCanReceive(ENDPOINT_ID id);
void udpReceive(ENDPOINT_ID id, const unsigned char* target, const char* buffer, int length, PNF_UDP_OPTIONS options);
void udpClosed(ENDPOINT_ID id, PNF_UDP_CONN_INFO info);
void udpReceiveHandler(ENDPOINT_ID id, SocksHelper::PUDP conn, PNF_UDP_OPTIONS options);
void udpReceiveHandler(ENDPOINT_ID id, SocksHelper::PUDP remote, PNF_UDP_OPTIONS options);
#endif