* [Xenomai-help] XDDP / IDDP Protocol Documentation
@ 2010-02-18 14:15 Guvenc Gulce
2010-02-18 14:50 ` Philippe Gerum
0 siblings, 1 reply; 2+ messages in thread
From: Guvenc Gulce @ 2010-02-18 14:15 UTC (permalink / raw)
To: Xenomai-help
Hi
Starting with Xenomai 2.5.x, there are couple of protocols which can be used by the rt threads for IPC
purposes. I am playing with the xddp protocol. Apart from the examples in xenomai source tree and an
e-mail from Philippe in xenomai-core mailing list, I couldnt find any further documentation. Do I overlook
smt here ? Are there any other pointers which document these protocols with further details ?
The API is actually Posix - Socket based so the usage is pretty straightforward but it would be nice
to have a list of accepted parameters for setsockopt call and what they are doing and maybe the accepted
values of "flags" parameter which can be used for example with recvfrom() call ? It would be more comfortable
then digging in the xenomai source code.
And in order to ask a particular question:
Any idea how to make recvfrom() call non-blocking in xddp context ? seems to be blocking per default.
Thanks & Regards
Guvenc
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [Xenomai-help] XDDP / IDDP Protocol Documentation
2010-02-18 14:15 [Xenomai-help] XDDP / IDDP Protocol Documentation Guvenc Gulce
@ 2010-02-18 14:50 ` Philippe Gerum
0 siblings, 0 replies; 2+ messages in thread
From: Philippe Gerum @ 2010-02-18 14:50 UTC (permalink / raw)
To: Guvenc Gulce; +Cc: Xenomai-help
On Thu, 2010-02-18 at 06:15 -0800, Guvenc Gulce wrote:
> Hi
> Starting with Xenomai 2.5.x, there are couple of protocols which can be used by the rt threads for IPC
> purposes. I am playing with the xddp protocol. Apart from the examples in xenomai source tree and an
> e-mail from Philippe in xenomai-core mailing list, I couldnt find any further documentation. Do I overlook
> smt here ? Are there any other pointers which document these protocols with further details ?
>
> The API is actually Posix - Socket based so the usage is pretty straightforward but it would be nice
> to have a list of accepted parameters for setsockopt call and what they are doing and maybe the accepted
> values of "flags" parameter which can be used for example with recvfrom() call ? It would be more comfortable
> then digging in the xenomai source code.
Likely yes. But no doc avail yet, aside of the demo code from
examples/rtdm/profiles/ipc.
>
> And in order to ask a particular question:
>
> Any idea how to make recvfrom() call non-blocking in xddp context ? seems to be blocking per default.
>
MSG_DONTWAIT should be set in flags.
> Thanks & Regards
>
> Guvenc
>
>
>
>
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
--
Philippe.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-02-18 14:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-18 14:15 [Xenomai-help] XDDP / IDDP Protocol Documentation Guvenc Gulce
2010-02-18 14:50 ` Philippe Gerum
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.