As mentioned before, I want to create a non-blocking RT-socket. 

I used therefore a negative timeout in ioctl_rt: ioctl_rt return no error,
but when I want to receive from the socket, the recv_rt function always
return as received length "-11". Using perror, I get "illegal seek".
When I set a positive timeout, even only 1 ns, then all works fine.

How do I set recv_rt in "non-blocking" mode? (Or have I encountered a bug in
the non-blocking mode)?
I've already tried setting the flags (where are they documented?) of recv_rt
to "RT_SOCK_NONBLOCK" or "RT_SO_NONBLOCK" (found in some old threads), but
this arises a compiler error. 

-- 
Analog-/ISDN-Nutzer sparen mit GMX SmartSurfer bis zu 70%!
Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to