* Re: Using RTnet to communicate with regular UDP socket
@ 2019-03-12 8:18 Per Oberg
0 siblings, 0 replies; 2+ messages in thread
From: Per Oberg @ 2019-03-12 8:18 UTC (permalink / raw)
Cc: xenomai
Hi
019, på kl 17:20, xenomai xenomai@xenomai.org skrev:
> Hi everyone:
> I am using xenomai + RTnet in Ubuntu,Xenomai version 3.0.5 Linux kernal version
> 4.9.38. And the ethernet card is Intel e1000.
> I'm going to use RTnet to communicate with regular UDP socket like a socket in
> raw Linux . I need to implement two way communication between Xenomai and
> another device witch is using regular UDP socket. In other words, RTnet socket
> in Xenomai should sent datagram to the regular UDP socket . If the regular UDP
> protocol can decode the rt-udp datagram and get right data? Besides, RTnet
> socket in Xenomai should also receive datagram from regular UDP protocol, so if
> the rt-udp in Xenomai can decode the regular UDP datagram?
> Thanks for everyone who spend time to give me some help!
Afaik, when you use the posix skin you may use the same UDP code in Xenomai as in regular Posix/Linux as long as you compile your program with the right flags. If your network destination/source is a RTNet address it will call the rt functions and if its an address belonging to the regular network it will call the regular linux code.
Per Öberg
^ permalink raw reply [flat|nested] 2+ messages in thread
* Using RTnet to communicate with regular UDP socket
@ 2019-03-11 16:20 李冰
0 siblings, 0 replies; 2+ messages in thread
From: 李冰 @ 2019-03-11 16:20 UTC (permalink / raw)
To: xenomai
Hi everyone:
I am using xenomai + RTnet in Ubuntu,Xenomai version 3.0.5 Linux kernal version 4.9.38. And the ethernet card is Intel e1000.
I'm going to use RTnet to communicate with regular UDP socket like a socket in raw Linux . I need to implement two way communication between Xenomai and another device witch is using regular UDP socket. In other words, RTnet socket in Xenomai should sent datagram to the regular UDP socket . If the regular UDP protocol can decode the rt-udp datagram and get right data? Besides, RTnet socket in Xenomai should also receive datagram from regular UDP protocol, so if the rt-udp in Xenomai can decode the regular UDP datagram?
Thanks for everyone who spend time to give me some help!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-03-12 8:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-12 8:18 Using RTnet to communicate with regular UDP socket Per Oberg
-- strict thread matches above, loose matches on Subject: below --
2019-03-11 16:20 李冰
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.