Is there a reason that result of -1 is used instead of somewhat universal 0 for detecting graceful shutdown on recv side for sockets? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/nio-discuss/attachments/20090422/9645d234/attachment.html