mirror of
https://github.com/netchx/netch.git
synced 2026-05-09 22:54:03 +08:00
Refactor: Update Netch.Servers naming
This commit is contained in:
19
Netch/Servers/Socks5/Socks5LocalServer.cs
Normal file
19
Netch/Servers/Socks5/Socks5LocalServer.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
namespace Netch.Servers
|
||||
{
|
||||
// TODO rename it
|
||||
/// <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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user