I've re-written an existing communication process to use RTnet (a LXRT task
using the RTnet API). A few days ago, when I tested it, it worked fine. 

But now it doesn't work and I've found that the failure is already the
opening of the socket with socket_rt. When I do it before the
rt_make_hard_real_time call, the socket gets opened (positive int return),
after the call the socket returns a negative int (opening failure). 

After a litte recherche, I found that it could give problems opening a
socket in RT context and it is recommended to do it in non-RT context. But
since it succeeded just a couple of days ago, I'm quite curious whats the
actual state of affairs regarding socket_rt and rt_make_hard_real_time is. 

Is there a "trick" to open a socket in RT context?

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