mirror of
https://github.com/netchx/netch.git
synced 2026-04-19 21:19:01 +08:00
18 lines
538 B
C#
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; }
|
|
} |