CokeMine

CokeMine

幸福の王子はツバメを待つ
🏢  Student
V2EX member #211146, joined on 2017-01-17 15:00:59 +08:00
Per CokeMine's settings, the topics list is hidden
Deals info, including closed deals, is not hidden
CokeMine's recent replies
我目前的方案是 WireGuard 然后服务器用 bird 跑 babel 协议
ws 是标准 websocket 的客户端(用于 Node.js 。浏览器直接使用可以直接使用浏览器提供的 WebSocket 这个类)、服务端实现
socket.io 自己封装了一套系统,默认情况下使用 websocket ,也可以切换到 HTTP 轮询
socket.io-client 是 socket.io 的客户端

socket.io 和 ws 不兼容,服务端和客户端请使用一套系统(要不都用 ws ,要不都用 socket.io ),当然你也可以使用 websocket 自己实现一个支持 socket.io 的协议(比如服务端用 socket.io ,客户端你就不想用 socket.io-client ,使用浏览器给的 WebSocket 手搓理论上来讲也是可以的)
May 6, 2024
Replied to a topic by Livid 站点状态 20240505 - 邀请码系统
注册 7 年,1 个金币
Mar 1, 2024
Replied to a topic by alphardex 情感问题 社恐宅男到底怎么才能谈恋爱?
性焦虑导致的(
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3504 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 18ms · UTC 04:45 · PVG 12:45 · LAX 21:45 · JFK 00:45
♥ Do have faith in what you're doing.