Initializes a new instance of the Telnet class, using specified port and no SSL.
Namespace:
Rebex.Net
Assembly:
Rebex.Telnet (in Rebex.Telnet.dll)
Syntax
Visual Basic |
---|
Public Sub New ( _ serverName As String, _ serverPort As Integer _ ) |
C# |
---|
public Telnet( string serverName, int serverPort ) |
Parameters
- serverName
- Type: System..::..String
The server address - either a hostname or a dotted string IP address.
- serverPort
- Type: System..::..Int32
The server port (eg. 23).