This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

HELP PLEASE  RSS feed

 
Bing Lu
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I have a socket, I get the inputstream and wrapped it in a bufferedreader and I do reader.readLine(). However I'm only gettting partial lines of text instead of whole lines, has anyone encountered this problem before and is there a way to solve the partial line reading problem.
PLEASE HELP ME OUT GUYS
thanks
 
Napa Sreedhar
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I never encountered such a problem but a suggestion.
Check the data going in to your socket input stream and flush()..
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!