.net 中没有 ip 的 tcp/ip
我知道标题很奇怪,但请听我说完。我正在寻找不使用 IP 的 TcpClient 和 TcpListener 版本。本质上,我希望能够在我选择的任何协议(UDP、ICMP、DNS、信鸽)之上使用 TCP 的所有优点(可靠且有序)。
有没有一种方法可以让我了解 TCP 向下传递到 IP 层的内容?
谢谢, Fidel
编辑:
我想要一个可靠的协议(例如 TCP),它可以将数据泵入流中,并从流中读取数据,而无需确切知道流如何传输该数据。
我对该流有明确的控制权。我只需要 TCP 将信息发送到该流而不是其常规底层。
Strange title I know, but please hear me out. I am looking for a version of TcpClient and TcpListener which don't use IP. In essence, I would like to be able to use all the TCP benefits (reliable & ordered) on top of any protocol of my choosing (UDP, ICMP, DNS, carrier pigeon).
Is there a way I could somehow tap into what TCP is passing down to the IP layer?
Thanks,
Fidel
Edit:
I want a reliable protocol (eg. TCP) which can pump data into a stream, and read data from a stream, without knowing exactly how the stream transports that data.
I have explicit control over that stream. I just need TCP to send information to that stream instead of its regular underlying layer.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
进行了一项实验,让 TCP 与 Pigeons 一起工作。
最近还有一项使用人类和木琴。
There was an experiment run to get TCP working with Pigeons.
Recently there also was an experiment using Humans and Xylophones.
您可以实现这一点,并且不需要使用 TCP/IP。
看看这里,您可以传递不同的地址类型,而不仅仅是 TCP/知识产权。
但请记住,如果您谈论的是 UDP、ICMP……它们是不同的协议,而不是不同的寻址方案。
You can achieve this and you do not need to use TCP/IP.
Have a look here, you can pass different address types not just TCP/IP.
But remember if you are talking about UDP, ICMP, ... they are different protocols not different addressing schemes.