Johan Cockx wrote: > Hello, > > I am trying to figure out how to set a socket to non-blocking mode. I > may have been looking in the wrong places, but the documentation that I > could find about this seems confusing and doesn't really help. > > I am using the xenomai native skin (rt_dev_... calls) > > First, is this a Xenomai issue or is it rtnet-specific? If its > Xenomai, I guess I should be asking this question elsewhere ... > > Second, what is the call I should use? fcntl doesn't have any effect, > and for rt_dev_ioctl, I found some places on internet telling me to use > RTNET_RTIOC_NONBLOCK, but that constant doesn't seem to be defined ... > > Is there somewhere a document explaining these kinds of things? Maybe this helps:
http://www.xenomai.org/index.php/RTnet:API#RTNET_RTIOC_TIMEOUT Regards Anders ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users