Re: [Xenomai] socket XDDP recvfrom timeout ?

2016-06-24 Thread Gilles Chanteperdrix
On Fri, Jun 24, 2016 at 04:37:12PM +0200, Laurent LEQUIEVRE wrote: > forgot to specify : Xenomai 3.0.2 Just a simple reminder. The Xenomai mailing list is a "subscriber only" mailing list. Which means you must be subscribed to be allowed to post. And when I say you, I mean "one e-mail address". So

Re: [Xenomai] socket XDDP recvfrom timeout ?

2016-06-24 Thread Laurent LEQUIEVRE
forgot to specify : Xenomai 3.0.2 Le 24/06/2016 16:35, Laurent LEQUIEVRE a écrit : Hello, I try to use the socket XDDP with the posix skin to communicate from RT thread to non RT thread. To get a non blocked 'recvfrom', I added the flag 'MSG_DONTWAIT', and it's work fine. But how to setup

[Xenomai] socket XDDP recvfrom timeout ?

2016-06-24 Thread Laurent LEQUIEVRE
Hello, I try to use the socket XDDP with the posix skin to communicate from RT thread to non RT thread. To get a non blocked 'recvfrom', I added the flag 'MSG_DONTWAIT', and it's work fine. But how to setup a timeout for this function ? I tried to set the flag 'SO_RCVTIEMO' by using 2 meth