I've encountered the following problem setting RTnet sockets into non blocking 
mode:

> long long timeout = -1;
> int res = ioctl_rt(socket,RTNET_RTIOC_TIMEOUT,&timeout);
When setting the socket like above (non-blocking mode) nothing works, meaning 
there is no data is received via this socket. 

> long long timeout = 1;
> int res = ioctl_rt(socket,RTNET_RTIOC_TIMEOUT,&timeout);
But when I set the socket like above (note that timeout is no positive), the 
socket is set to blocking mode (yet only for a very small time) and all works 
fine, data gets received. 

I'm using RTAI 3.3, latest stable version form rtai.org (no CVS version)
and RTnet 0.9.4 from rtnet.org (no SVN version).

Could it be I found a bug in setting sockets non-blocking?
-- 


Echte DSL-Flatrate dauerhaft für 0,- Euro*. Nur noch kurze Zeit!
"Feel free" mit GMX DSL: http://www.gmx.net/de/go/dsl

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to