tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexis <>
Subject OT: about readers
Date Thu, 16 Jun 2011 21:36:55 GMT
Hello, all, i know this one is OT but i cannot figure it out how to do this

im reading from a socket with a bufferedreader using readLine, it works perfect, problem is
some messages has no termination at all, so readLine never completes. 

How can i deal with this? i know i can read char by char building a string and matching on
what i need, but i dont think that as a good solution.

Any help will be appreciated.

best regards
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message