1. 修复服务端返回错误码判断问题
This commit is contained in:
黄昕 2023-08-24 08:49:29 +08:00
parent eb0eefe354
commit 7682b8e13d
3 changed files with 3 additions and 2 deletions

View File

@ -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)

View File

@ -1,6 +1,6 @@
#pragma once #pragma once
#define USED_PORTMAP_TUNNEL (0) #define USED_PORTMAP_TUNNEL (1)
/** /**
* @brief WireGuard key * @brief WireGuard key
*/ */

View File

@ -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,