Question about real-time networking
jan.kiszka at siemens.com
Mon Mar 11 20:42:36 CET 2019
On 11.03.19 06:59, 김병진 wrote:
> >On 08.03.19 10:05, 김병진 via Xenomai wrote:
> >> Hello<br>I wanna use tcp or udp for real-time network.<br>i found an example from /home/kraptor/xenomai-v3.0.8/demo/posix/cobalt/eth_p_all<br>But it seems like not using rtnet.<br>https://gitlab.denx.de/Xenomai/xenomai/wikis/RTnet<br>Wiki says that i need to install Rtnet separately.<br>Is it right? I am trying to build rtnet tcp example without install.<br>Cause all function I need is in /xenomai/kernel/drivers/net/stack/<br>But what should I include or link?(cflags or ldflags)<br><br>Is there anyone who can help me?<br><br>Thank you.
> >Something is mangling your emails...
> Sorry for messy html. I think My mail editor has a problem:(
> >RTnet is part of Xenomai, no need for a separate installation anymore. Where exactly is our wiki suggesting something different?
> Several paths in 'Rtnet programming' are based on installing Rtnet.
> "The second folder of interest is the folder where RTnet was installed into. The default location for this would be /usr/local/rtnet."
> "Change to directory /usr/local/rtnet/sbin"
Well, that is talking about installing it from the Xenomai sources onto the
target. That still applies.
> >For rttcp, you need to use the development branch (master).
> So if i use master branch xenomai, can i add tcp in "RT_PROTOCOLS" from 'rtnet.conf'?
> I can't add tcp flags on 3.0.8 branch because there is no tcp/rtnet option in kernel config.
As I said: use git, master branch.
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
More information about the Xenomai