posted 17 years ago
I think it would be worthwhile to study the difference between the read(byte[]) and readFully(byte[]) methods. For an array as small as 6 bytes it's fairly unlikely that the difference will be noticed, most of the time. However this is the sort of little detail that can lead to rare unexplained errors, so it's good to avoid this problem in the first place if possible.
"I'm not back." - Bill Harding, Twister