Hi all,
I'm currently facing a problem while using TelnetClient.
With this modified piece of code, my Java Applet, opens a telnet socket to an IP, and runs telnet commands (using the output stream associated to the socket) on that particular IP.
The input stream associated to the socket is used to read the output of the command executed.
When any user telnets to the same IP, he gets blocked since the command is running from the Java Applet. But once the collection of the output is over (from the input socket), I'm disconneting the connection - closing the socket, making the input/output stream = null.
Even after disconnecting the socket, the telnet user is getting blocked..and telnet is not proceeding.
Is it that Java environment is blocking something?????
Please help.
Thanks in advance.
BR
Shamik