Skip to contentSkip to conversation

XDDP / IDDP Protocol Documentation

Xenomai-help Guvenc Gulce 2 participants 2 messages Feb 18, 2010

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 10 lines · Guvenc Gulce

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.

Quoted 5 lines

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.

Quoted 11 lines

Thanks & Regards

Guvenc

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Signature · 1 line
Philippe.