基于 Linux 的系统的 OSI TP4 实现
我正在努力实现两台计算机之间的连接。这两台计算机需要使用 OSI TP4 连接(Mac 地址到 Mac 地址)进行通信。我使用的是 Fedora 11 Linux 系统。我正在尝试使用 C/C++,并且更愿意保留这些语言,但如果没有使用它们的解决方案,我可以稍微灵活一些。
第二台计算机已经写好了,我不需要用它做任何事情;我只需要为我的目的编写代码即可与其通信。我一直在网上搜索,试图找到有关如何进行此类编程的信息或处理这种通信的现成库,但迄今为止却空手而归。
我的主要经验是使用标准 C 库进行基本 TCP/IP 编程 - 但是,我不知道是否可以使用它们来实现此目的。
我将在第 3 层使用 ISO 8473 无连接协议,在第 4 层使用 ISO 8073 Class 4 模型。
网上有这方面的信息吗?我似乎找不到任何解释如何执行此操作的教程或任何类型的示例代码。同样,如果有一个可购买的系统,那也很好 - 我只需要知道在哪里可以获取有关该主题的信息。
如果其中任何内容有点模糊,我很抱歉 - 我以前从未使用过如此低级的东西,目前这对我来说非常令人困惑。
I am working on implementing a connection between two computers. These two computers need to communicate using an OSI TP4 connection (Mac-Address to Mac-Address). I am using a Fedora 11 Linux system. I'm trying to use C/C++ and would prefer to stay in those, though if there's no solution using them, I can be slightly flexible with this.
The second computer is already written, and I do not need to do anything with it; I just need to write code for my end in order to communicate with it. I've been searching around online trying to find either information on how to do this sort of programming or an off-the-shelf library that handles this communication, but have thus far come up empty handed.
My primary experience is with basic TCP/IP programming using the standard C libraries - however, I have no idea if I can use these for this.
I will be using the ISO 8473 Connectionless protocol for layer 3 and the ISO 8073 Class 4 model for layer 4.
Is there any information on this on the net? I can't seem to find any tutorial that explains how to do this, or any sort of example code. Again, if there's a purchasable system, that's fine too - I just need to know where I can get information on this topic.
I'm sorry if any of this is a little vague - I've never worked with stuff this low-level before and it's all pretty confusing to me at the moment.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这也许就是你所追求的?
Linux 2.6.x 内核的 TP4/CLNP 实现。
更多信息请访问:
Is this perhaps what you're after?
An implementation of TP4/CLNP for Linux 2.6.x kernels.
More information at: