We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed last year.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
我通过查看这个java示例来编写此内容: http://github.com/adamac/Java-WebSocket-client/blob/master/src/com/sixfire/websocket/WebSocket.java
并仅使用此 ws 聊天服务器进行测试 http://www.codeproject.com/KB/webservices/c_sharp_web_socket_server.aspx
它支持帧(0x00 - - 0xFF),当您选择端口时,它返回最后一个,如果没有消息则不返回。
目前它不支持数据帧(0x80 - 0xFE),也不支持 utf8。
以此为例。
I write this by looking at this java example: http://github.com/adamac/Java-WebSocket-client/blob/master/src/com/sixfire/websocket/WebSocket.java
and tested only with this ws chat server http://www.codeproject.com/KB/webservices/c_sharp_web_socket_server.aspx
it supports framing (0x00 - - 0xFF), when you pick the port it returns the last , if no msg then returns none.
currently it does not support data frames (0x80 - 0xFE) and no support for utf8.
Take it as an example.
我最近看了这个,编写一个 ws:// 协议看起来并不需要很长时间,而且看起来非常简单。也许你可以尝试自己写一下。
好吧,自从我写这篇文章以来,Endo 发布了他的 ws:// 协议
http://www. Moldibi.com/rebol/ws.html
I looked at this recently and writing a ws:// protocol does not look like it will take long, and looks to be quite straight forward. Perhaps you could try writing it yourself.
Well, since I wrote this, Endo has released his ws:// protocol
http://www.moldibi.com/rebol/ws.html
仅作为记录,我的 Rebol3 HTTPd Web 服务器模块具有内置 WebSocket 支持: https://github .com/Oldes/Rebol-HTTPd
Just for a record, my HTTPd web server module for Rebol3 has built-in WebSocket support: https://github.com/Oldes/Rebol-HTTPd