Jörn Hoffmann wrote:
> Hi Jan,
> i hope it's ok to post my test code as an attachment. Hope it works with the 
> mailing list. Since i inserted a while loop for the rt_dev_recvfrom(), to try 
> to receive again if EAGAIN is returned, i now receive the right message (it 
> seems i get it always with the second try). Maybe rt_dev_ioctl() takes some 
> time!? But than i don't understand why the rt_dev_sendto() doesn't fail 
> although it is called
> before the receive.
> Next is that it doesn't matter which socket behaviour i request. The receive 
> always returns immediately.

Please check what type RTNET_RTIOC_TIMEOUT accept

 #define RTNET_RTIOC_TIMEOUT     _IOW(RTIOC_TYPE_NETWORK, 0x11, int64_t)
                                                               ^^^^^^^
and compare with your type

 long timeOut = 2000000000;

Do you happen to run on 32 bit...?

Jan

PS: Trimming your non-top-posted reply to cite only relevant parts is
the next stage. ;)

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to