On 2011-02-09 15:58, Glen Wernersbach wrote:
> My current theory is that with RTNET you need a Connect() to do a Send().

That would be clearly a bug. I still can't see how this may happen, though.

> 
> Connect() only works if a socket is not in listen().

You either accept connections or you establish them. I'm not sure if
switching between both stats is even a valid transition.

> 
> Not sure what happens yet if I change the send() to a sentto() if the first
> example

send, sendto, sendmsg, write - they all end up in the same handler
internally. Target address is ignored.

> 
> On Xenomai , Sent() does not error. it just blocks. On RTAI, it produces an
> "oops".

[/me still waiting for a kernel log]

The fact that Xenomai blocks likely means, the socket is in
TCP_ESTABLISHED state. "Just" the communication fails or something else
prevents the RTnet side to consider its TX window open.

Jan

-- 
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux

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

Reply via email to