> Yes. The trick is to fill the rtskb cache with some buffers (module
> parameter of rtnet.ko).
Thanks for your help. 

But now I've encountered another problem, namely in setting the sockets to
nonblocking mode (all this happens before rt_make_hard_real_time). 
First I want to get the current flags of the socket:
> int tmp = fcntl(m_socket, F_GETFL, 0);
Then I want to add the "non-blocking" mode
> int res = fcntl(m_socket, F_SETFL,tmp | O_NONBLOCK);

The error arises already in the first line. When I print out the value of
tmp, I always getting a "-1" indicating an error. 

How are the commands to get/set flags for RT-sockets? I've searched in the
documentation, but couldn't find them. I've just give it a try and used the
"ioctl_rt" command instead of "fnctl", but this also returned a negative
number (-95).  

-- 
E-Mails und Internet immer und überall!
1&1 PocketWeb, perfekt mit GMX: http://www.gmx.net/de/go/pocketweb


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