Re: [RTnet-developers] Ethernet IP
Brought to you by:
bet-frogger,
kiszka
|
From: Glen W. <gl...@je...> - 2011-02-08 04:24:28
|
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" <gl...@je...> 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" <jan...@we...> 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" |