private DoSocks ( |
||
ip | ||
port | int | |
dest | string | |
destport | int | |
username | string | |
password | string | |
return | void |
private void DoSocks(IPAddress ip, int port, string dest, int destport, string username = null, string password = null)
{
ipAddress = ip;
Port = port;
//check for username & pw.
if(username != null && password != null)
{
Username = username;
Password = password;
reqPass = true;
}
Dest = dest;
Destport = destport;
}