Files
netch/Netch/Servers/Socks5/Socks5LocalServer.cs
ChsBuffer 8fb2bdcee9 C# 10
2021-11-13 00:44:09 +08:00

18 lines
538 B
C#

namespace Netch.Servers;
// TODO migrate to Socks5Server class
/// <summary>
/// Encrypted proxy client's local socks5 server
/// (<see cref="RemoteHostname"/> property is used for saving remote address/hostname for special use)
/// </summary>
public class Socks5LocalServer : Socks5Server
{
public Socks5LocalServer(string hostname, ushort port, string remoteHostname)
{
Hostname = hostname;
Port = port;
RemoteHostname = remoteHostname;
}
public string RemoteHostname { get; set; }
}