Skip to content
This repository has been archived by the owner on Mar 8, 2018. It is now read-only.

rn.net.tcp.telnet.TelnetClient

r3d9u11 edited this page Jan 30, 2018 · 9 revisions

TelnetClient

Source

Properties

  • connected : Bool
  • telnetControlChar : String
  • telnetSendWaiting : Float
  • telnetResponseWaiting : Float
  • telnetEndLineChar : String
  • telnetLogin : String
  • telnetPassword : String

Service methods

  • telnetLoginProc () : Bool
  • telnetCheckingProc () : Bool

Initialization methods

  • new (?tcpSocket:TcpSocket, ?inputBufferSize:Int)

Connection methods

  • connect (host:Host, port:Int)
  • reconnect ()
  • disconnect ()

Data sending methods

  • sendByte (data:Int)
  • sendData (data:Bytes)
  • sendText (text:String)
  • sendTextLine (text:String)

Data reading methods

  • readData (notEmpty:Bool = true, readLine:Bool = false) : haxe.io.Bytes
  • readText (notEmpty:Bool = true, readLine:Bool = false) : String
  • telnetResponse (?request:String) : String