This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Bufferedreader missing packets

 
simone giusti
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My socket client needs to receive informations from a Telnet Server with READLINE.
I built a thread always listening to server messages.
If the client sends more than a request sequentially, one or more answers are lost !
I am sure that server is answering.
How can I be sure of receiving all messages ?? (plain texts)


 
simone giusti
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
any hints ?? please !
 
Ron McLeod
Bartender
Pie
Posts: 1049
65
Android Eclipse IDE Java Linux MySQL Database Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you share the code that you are actually running? What you posted earlier will not compile.
 
simone giusti
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ron McLeod wrote:Can you share the code that you are actually running? What you posted earlier will not compile.


It works for me !

 
Ron McLeod
Bartender
Pie
Posts: 1049
65
Android Eclipse IDE Java Linux MySQL Database Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wrapped your code with a simple Activity and I didn't notice any lost messages from the server. Maybe your issue is with your server or the network interconnecting them?

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic