This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]