Next Topic

Previous Topic

Book Contents

Connect

bool Connect(string sUsername,string sPassword,int iPort=22,int iTimeout=25000)

Return value

Returns true if the connect operation succeeded or false otherwise.

Parameters

  • sUsername - Username
  • sPassword - Password
  • iPort - Port number where the server listens. Default value 22.
  • iTimeout - Timeout in milliseconds to wait for server to respond. Default value 25000 (25 seconds).