在 opera 12 上运行网络套接字服务器 [英] Running web socket server on opera 12
问题描述
我按照这里的说明在我的 WXP 上安装了 web socket node.js 服务器
I followed the instructions from here to install web socket node.js server on my WXP
我有一个客户端和服务器写成如下:http://cjihrig.com/blog/creating-your-own-websocket-echo-client/ (ws_server.js)
I have a client and server written as follows: http://cjihrig.com/blog/creating-your-own-websocket-echo-client/ (ws_server.js)
请告诉我如何使网络套接字连接工作...?
当我运行客户端时,Alert显示如下:
1.支持网络套接字"2.关闭时:事件/数据:未定义".
Please let me know how can I make the web socket connection work...?
When I run the client, Alert displaye are as follows:
1. "Web sockets are supported"
2. "On Close : event / data :Undefined".
那么我如何让 nodejs 在歌剧上工作??它在谷歌浏览器上工作正常??
So how do i make nodejs work on opera?? It is working fine on google chrome??
我在 Opera 配置中启用了 web sockets
I have enabled web sockets in opera config
谢谢
斯内哈
推荐答案
Opera 12 的当前发布版本是
The current release version of Opera 12 is
Opera/9.80 (Macintosh; Intel Mac OS X 10.7.4; U; fr) Presto/2.10.289 Version/12.00
如您在用户代理字符串中所见:Presto/2.10.289.最新版本的 WebSocket 协议已已实施在 Opera 的核心引擎中.
as you can see in the user agent string: Presto/2.10.289. The last version of WebSocket Protocol has been implemented in the CORE engine of Opera.
WebSocket API 将 WebSocket 实现更新为 RFC 6455
(Presto/2.11.337)
WebSocket API Update WebSocket implementation to RFC 6455
(Presto/2.11.337)
- 请参阅:WebSocket API
- 请参阅:RFC 6455 - WebSocket 协议
但正如您在 Presto/2.11.337 中所见,Opera 12 中尚不可用.它将在未来版本中提供.
but as you can see in Presto/2.11.337 which is not yet available in Opera 12. It will be available in a future release.
这篇关于在 opera 12 上运行网络套接字服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!