> Hi Jörn, > > please don't top-post [1] (I'm already seeing too much of > this @work... > :->). > > Jörn Hoffmann wrote: > > Thank you Jan! > > Because i want to develop against the posix skin, i now > added the posix wrapper options > > to the linker call (posix.wrappers) and use the function > calls without rt_dev prefix. > > It works! > > Unfortunately a new problem or misunderstanding occured. I > want to set a socket to timeout > > behaviour for receiving and used ioctl.......argh..... > Everytime i tried to ioctl the socket > > behaviour, no matter if blocking, nonblocking, timeouting > (;)), recvfrom returned with error. > > What error do you get precisely (this time in errno again)? > > > If i rt_dev_ioctl the socket it works..hmm. But i've seen, > that ioctl ist also wrapped by > > Xennomai. Is there something more i've not noticed?? > > Did you use RTNET_RTIOC_TIMEOUT for setting the timeout? > > Jan > > [1] http://en.wikipedia.org/wiki/Top-posting#Top-posting > > Ok. This time no top-posting. Hope thats better now?! Oh..Oh...confusion's back again. Yes, i used RTNET_RTIOC_TIMEOUT. Although ioctl should be wrapped, it seems i'm switching back to plain linux, because errno is now again setted by recvfrom(). I got errno=11. The returncode of recvfrom() is -1.
Jörn ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users