Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试了解 Websockets 协议,但我陷入了帧解码部分。在我看到的每个 PHP 示例中,我看到了“ord”函数的使用,当我查看文档(实际上是法语)时,它说它返回一个字符的 ASCII 值。但是当我查看RFC6455(有效负载长度)时,它说“不是 ASCII 字符”。
我看到这个链接下拉到二进制级别,它返回像“-20165154”这样的值。有了这个例子“链接”,我现在完全迷失了。有人能帮我吗?