[omniORB] OmniORB 4.04 windows bug !

Renzo Tomaselli renzo.tomaselli at tecnotp.it
Fri Aug 13 22:20:11 BST 2004


Hi all,
    ver. 4.04 cannot run properly on Windows.
Methods SocketCollection::is/clear/setSelectable got a new initial test
about socket n. not being higher than 2048 on Windows (sock >=
SELECTABLE_FD_LIMIT). This test is new (not in 4.03).
In many cases this test fails since the socket n. can be higher: the final
result is that endpoints are not properly initialized by setSelectable() and
the involved process cannot accept any connection (endpoints remain blocked
in Select without accepting anything).
We noticed this on Win2k and WinXP. Furthermore it appears as a random
effect, since applications usually run fine from command line while they
cannot be contacted when run from inside an IDE, such as Dev. Studio or
Eclipse for Java.
In such cases - for unknown reasons - the TCP/IP stack returns higher socket
numbers which can go beyond 2048.
Regards,

Renzo Tomaselli






More information about the omniORB-list mailing list