[Bug libgcj/14759] ServerSocketChannel causes Selector.select() to return immediatly

bofh-reg-gcc at diegeekdie dot com gcc-bugzilla@gcc.gnu.org
Tue Mar 30 05:59:00 GMT 2004


------- Additional Comments From bofh-reg-gcc at diegeekdie dot com  2004-03-30 05:59 -------
Running the program with strace shows that two sockets are created (fd 5 and 6). The second socket (fd 6) is the one that is later given an address with bind(2), the first socket (fd 5) is the one that is used in the select(2) call.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14759



More information about the Gcc-bugs mailing list