public ForwardedPortRemote ( |
||
boundHostAddress | The bound host address. | |
boundPort | uint | The bound port. |
hostAddress | The host address. | |
port | uint | The port. |
return | System |
public ForwardedPortRemote(IPAddress boundHostAddress, uint boundPort, IPAddress hostAddress, uint port)
{
if (boundHostAddress == null)
throw new ArgumentNullException("boundHostAddress");
if (hostAddress == null)
throw new ArgumentNullException("hostAddress");
boundPort.ValidatePort("boundPort");
port.ValidatePort("port");
BoundHostAddress = boundHostAddress;
BoundPort = boundPort;
HostAddress = hostAddress;
Port = port;
_status = ForwardedPortStatus.Stopped;
}
ForwardedPortRemote::ForwardedPortRemote ( string boundHost, uint boundPort, string host, uint port ) : System | |
ForwardedPortRemote::ForwardedPortRemote ( uint boundPort, string host, uint port ) : System |