Well, I installed Xenomai and RTNET on a different distribution and basically got the same issues as in the email below.
If I run accept() after select(), I get a -1 Invalid Argument error. The rest is exactly alike. I get these errors, even when I get the code as close as I can to the RTTCP_SERVER example. So there is either some problem with my insmods, some obscure program setting or I have just found problems with TCP on RTNET. At least the errors are in the same place both on RTAI and XENO_POSIX Glen On 1/28/11 4:32 PM, "Glen Wernersbach" <[email protected]> wrote: > Thanks. > > I will check. > > Verdict is still out if I can used RTAI , RTNET and TCP > Here are my current troubles: > > 1. rt_dev_Accept() seems to return ether -9,-22,-38 with the errorn specifying > funciton not implemented. > 2. If I skip accept and just use the original FD, I get data but when I try to > rt_dev_send() back to this FD, I get a crash and a "Ooops" output > 3. If I issue a rt_dev_shutdown() on a UDP socket, I get an "Ooops' output. > Works on the TCP socket. > > The program works with standard linux commands. > > Glen > > > On 1/28/11 4:13 PM, "Jan Kiszka" <[email protected]> wrote: > >> On 2011-01-28 21:40, Glen Wernersbach wrote: >>> Jan, >>> >>> On you last comment below about pre allocating buffers, I am trying to find >>> where in the RTAI examples it show that? >> >> It's lacking in those few RTAI examples. Check xenomai/posix and watch >> out for RTNET_RTIOC_EXTPOOL. I think that should be trivially transferable. >> >> Jan >> -- Glen Wernersbach President & CTO Jetsoft Development Co. 629 Old St Rt. 74 Suite 210 Cincinnati, Oh 45244 Custom Programming Web Site: www.jetsoftdev.com Retail Products Web Site: www.scanhelp.com Phone: 513-528-6660 Fax: 513-528-3470 ---- "Support Dyslexia Research" ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ RTnet-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rtnet-developers

