Johan Cockx wrote: > > > On Tue, Oct 12, 2010 at 3:04 PM, Gilles Chanteperdrix > <gilles.chanteperd...@xenomai.org > > Ok: __real_socket is not called, the XENOMAI_SKINCALL3(...) code > > returns zero in this case. > > Ok. zero should be translated in something like 1024 - 128. And the > reverse operation happen in select code. > > > If I understand you correctly, the socket call is returning a valid > Xenomai file descriptor as it should. So, the next question is: why is > this file descriptor (or the corresponding mask) not recognized as such > in select()? Do you have any further suggestions on how to debug this?
As I just explained. verify that __wrap_socket returns 1024 - 128, or something like that. And that this value gets translated back to 0 in select code. -- Gilles. ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users