Establishing a connection |
You may establish a connection by invoking the Rlogin#connect method. An exception of type BsdException will be thrown if an error occurs.
Example
try { // establish connection rlogin.connect(); } catch (BsdException e) { e.printStackTrace(); } |