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
methods :
struct timeval tv;
tv.tv_sec=nb seconds
tv.tv_usec=nb micro seconds
setsockopt(socket_id,SOL_SOCKET, SO_RCVTIMEO, , sizeof(tv)); -->
doesn't work, blocked !
timeout (in nano seonds)
ioctl(socket_id, SO_RCVTIMEO, ); --> doesn't work, blocked !
Thanks for your help,
Laurent LEQ
rit :
On Fri, Jun 17, 2016 at 11:55:20AM +0200, Laurent LEQUIEVRE wrote:
Hello,
I installed xenomai 3.0.2 and try to test some RTnet features needed for
the communication with my Kuka robot arm.
I specify that I want to work with the skin posix only.
I need to create a UDP socket with a time
(RTIOC_TYPE_NETWORK, 0x11, int64_t)
I read in the documentation that rtnet is included in xenomai 3, why there
is no rtnet.h file installed with the xenomai include files ?
Thanks,
Regards,
Laurent LEQUIEVRE
2016-06-17 13:28 GMT+02:00 Laurent LEQUIEVRE <laurent.lequie...@gmail.com>:
you give me a sample ?
Thanks for your help,
Regards,
Laurent LEQUIEVRE
___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai