PowerTCP Emulation for .NET
Connect(String) Method




The remote host name or address to connect to.
Connects to an Rsh server.
Syntax
Public Overloads Sub Connect( _
   ByVal hostNameOrAddress As String _
) 
Dim instance As Rsh
Dim hostNameOrAddress As String
 
instance.Connect(hostNameOrAddress)
public void Connect( 
   string hostNameOrAddress
)
public: void Connect( 
   string* hostNameOrAddress
) 
public:
void Connect( 
   String^ hostNameOrAddress
) 

Parameters

hostNameOrAddress
The remote host name or address to connect to.
Remarks

This method attempts to connect to the remote host on the default port of 514.

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.

See Also

Reference

Rsh Class
Rsh Members
Overload List


PowerTCP Emulation for .NET Documentation Version 4.7
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic