Java Solaris NIO OP_CONNECT problem
问题 I have a Java client that connects to a C++ server using TCP Sockets using Java NIO. This works under Linux, AIX and HP/UX but under Solaris the OP_CONNECT event never fires. Further details: Selector.select() is returning 0, and the 'selected key set' is empty. The issue only occurs when connecting to the local machine (via loopback or ethernet interface), but works when connecting to a remote machine. I have confirmed the issue under two different Solaris 10 machines; a physical SPARC and