gpt4 book ai didi

http - 有人知道任何通过 UDP 工作的 HTTP 服务器吗?

转载 作者:塔克拉玛干 更新时间:2023-11-01 19:09:22 24 4
gpt4 key购买 nike

我正在尝试通过 http 构建对等网络。由于连接和能耗问题,该网络需要使用 UDP。我知道这不是传统的。

我的问题是:有人知道任何运行在 UDP 上的开源 http 服务器吗?最好用 Java 编写?

就我自己的搜索而言,我找到了这个 http://nodejs.org/ ,但我正在寻找替代方案。

谢谢,塞萨尔

最佳答案

我不认为任何这样的服务器是可用的。

来自 RFC

HTTP communication usually takes place over TCP/IP connections. The default port is TCP 80, but other ports can be used. This does not preclude HTTP from being implemented on top of any other protocol on the Internet, or on other networks. HTTP only presumes a reliable transport; any protocol that provides such guarantees can be used; the mapping of the HTTP/1.1 request and response structures onto the transport data units of the protocol in question is outside the scope of this specification.

关于http - 有人知道任何通过 UDP 工作的 HTTP 服务器吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22037906/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com