This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug libgcj/14759] ServerSocketChannel causes Selector.select() to return immediatly
- From: "bofh-reg-gcc at diegeekdie dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 30 Mar 2004 05:59:13 -0000
- Subject: [Bug libgcj/14759] ServerSocketChannel causes Selector.select() to return immediatly
- References: <20040328101128.14759.debian-gcc@lists.debian.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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