2024-01-25 17:17:16 +08:00
|
|
|
|
using NoSugarNet.DataHelper;
|
|
|
|
|
using System.Text;
|
2024-01-22 15:08:43 +08:00
|
|
|
|
|
|
|
|
|
namespace NoSugarNet.ServerCore.Common
|
|
|
|
|
{
|
|
|
|
|
public struct TunnelClientData
|
|
|
|
|
{
|
|
|
|
|
public byte TunnelId;
|
2024-01-25 15:41:00 +08:00
|
|
|
|
public string ServerLocalTargetIP;
|
|
|
|
|
public ushort ServerLocalTargetPort;
|
2024-01-22 15:08:43 +08:00
|
|
|
|
public ushort ClientLocalPort;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static class Config
|
|
|
|
|
{
|
2024-01-25 17:17:16 +08:00
|
|
|
|
public static Dictionary<byte, TunnelClientData> cfgs = new Dictionary<byte, TunnelClientData>();
|
|
|
|
|
public static E_CompressAdapter compressAdapterType;
|
2024-01-22 15:08:43 +08:00
|
|
|
|
}
|
|
|
|
|
}
|