When writing networked apps in java…

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.

bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

Leave a Reply