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

标签 http udp

我正在尝试通过 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/

相关文章:

Python:如何从 BaseHTTPRequestHandler HTTP POST 处理程序获取键/值对?

tcp - 为什么DNS使用UDP作为传输层协议(protocol)?

tcp - Icecast 传输层协议(protocol) - TCP 还是 UDP?

c# - 将 UDP 封装在 TCP 协议(protocol)中

java - 如何修改 HttpUrlConnection 的 header

jquery - 通过 Ajax 调用使用 http 基本身份验证

python - 在 python 中监听 UDP 数据包时出现问题 - socket.error : [Errno 24] Too many open files

Java 到 Lua 套接字通信错误

C http O_NONBLOCK 模式问题?

http - 无法使用 sim808 模块从服务器获取数据