Alan Bateman wrote:
The webrev is here: http://cr.openjdk.java.net/~alanb/6432567/webrev.00/
Shouldn't this: 173 b[expected] = '\0'; /* ensure null-terminated */ be this: 173 b[received] = '\0'; /* ensure null-terminated */ To cover the case of a short receive count... Dan
