commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anjib Mulepati <>
Subject [net] Handling sequence of sendCommand()
Date Mon, 08 Sep 2014 15:52:52 GMT
Hi All,


    I am using this AutomatedTelnetClient (
      to send sequence of command to 
AutomatedTelnetClient telnet = new AutomatedTelnetClient("", "23");
telnet.sendCommand("rand ");//run OK
telnet.sendCommand("cal "); //run OK
telnet.sendCommand("date "); //never run

    first two command run OK and gives me
        output but third one never runs. I change the order of cal and
        date this time rans and date execute but not cal. So it running
        first two commands only.


        So my question is do I have to use some kind of thread in that
        program to do read and write operation from the telnet server?



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message