• Post Reply Bookmark Topic Watch Topic
  • New Topic

Apache TelnetClient throws Time Out Exception on every second attempt of read on same  RSS feed

Sachin Dimble
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Apache TelnetClient api to communicate with Telent server. I can send first command successfully and can read the response for the same, then after some time if i send the command using same TelnetClient instance, it executes the command but on read it gives the exception ReadTimeOut. I tried with different values of soTimeOut (5,10,15,20 secs) but it won't changed the behavior. seems some bug with apache telnet api, i also tried the workarround setReader(false), but unfortunately it won't work. any suggestion will be helpful.

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!