When writing networked apps in java…
on January 29, 2009 at 1:38 pm…and you are using plain text encoding, use a Scanner instead of a BufferedReader, wrapped over a InputStreamReader. I just fought a timeout bug for quite some time that was fixed by this.









