Dart.Emulation Namespace > Rlogin Class > Connect Method : Connect(String) Method |
Public Overloads Sub Connect( _ ByVal hostNameOrAddress As String _ )
public void Connect( string hostNameOrAddress )
public: void Connect( string* hostNameOrAddress )
public: void Connect( String^ hostNameOrAddress )
This method attempts to connect to the remote host on the default port of 513.
Since the rlogin and rsh protocols require a local port between 512 and 1023 (inclusively), this library attempts to bind to an open local port within this range. This feature allows you to use this protocol hundreds of times without running out of local ports.
Use Connect(TcpSession) to connect to a server on an alternative port, or specify the local endpoint.