parent
eb0eefe354
commit
7682b8e13d
|
@ -10,6 +10,7 @@
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
#include <ws2tcpip.h>
|
#include <ws2tcpip.h>
|
||||||
#include <spdlog/fmt/bin_to_hex.h>
|
#include <spdlog/fmt/bin_to_hex.h>
|
||||||
|
#include <array>
|
||||||
|
|
||||||
#define SCG_UDP_HEAD_SIZE (11)
|
#define SCG_UDP_HEAD_SIZE (11)
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define USED_PORTMAP_TUNNEL (0)
|
#define USED_PORTMAP_TUNNEL (1)
|
||||||
/**
|
/**
|
||||||
* @brief WireGuard key 最大长度
|
* @brief WireGuard key 最大长度
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -18,7 +18,7 @@ TEST_MODULE_INITIALIZE(ModuleInitialize) {
|
||||||
Logger::WriteMessage("In Module Initialize:\n");
|
Logger::WriteMessage("In Module Initialize:\n");
|
||||||
Assert::AreEqual(0,
|
Assert::AreEqual(0,
|
||||||
TunnelSDKInitEnv(path,
|
TunnelSDKInitEnv(path,
|
||||||
"https://112.17.28.201:1443",
|
"http://172.21.40.194:32549",
|
||||||
TEXT("C:\\Users\\HuangXin\\Documents\\development\\visual_studio\\tunnel_"
|
TEXT("C:\\Users\\HuangXin\\Documents\\development\\visual_studio\\tunnel_"
|
||||||
"windows\\NetTunnelApp\\bin\\Debug\\utest.log"),
|
"windows\\NetTunnelApp\\bin\\Debug\\utest.log"),
|
||||||
LOG_TRACE,
|
LOG_TRACE,
|
||||||
|
|
Loading…
Reference in New Issue