Socket.IO 1.2.1 发布,此版本包括非常重要的 bug 修复,改进了 CDN 的 DNS 服务的可靠性(导致在 2014 年 11 月 5 日有一次短暂的停机)。
改进记录
服务器
-
Bumped
engine.io
to include a fix for leaks in thews
WebSocket Server. Thanks @3rd-Eden for hisws
patch. -
Prevent a crash that arises from a
socket.io-protocol
violation. Sending anull
engine.io message packet would throw an exception, which wasn’t being translated into anerror
event. -
Propagate all
error
events from the underlying transport to the openSocket
objects. -
Minor cosmetic fixes.
客户端
-
README
fixes to prevent double events in the example upon reconnection [@nkzawa] -
Fix subsequent reconnections after reconnecting manually [@nkzawa]
-
Make ACK event callbacks callable multiple times without side-effects [@thexeos]
-
Bumped
uglify-js
[@superlukas]
通过 CDN Grab 新的客户端:
<script src="https://cdn.socket.io/socket.io-1.2.1.js"></script>
更多内容请看发行说明。
Socket.IO 实现了实时双向的基于事件的通讯机制。旨在让各种浏览器与移动设备上实现实时app功能,模糊化各种传输机制。
Socket.IO 是跨平台,多种连接方式自动切换,做即时通讯方面的开发很方便,而且能和expressjs提供的传统请求方式很好的结合,即可以 在同一个域名,同一个端口提供两种连接方式:request/response, websocket(flashsocket,ajax…).
Node.js+socket.io+聊天室源码 http://www.linuxidc.com/Linux/2013-10/91617.htm
Node.Js入门[PDF+相关代码] http://www.linuxidc.com/Linux/2013-06/85462.htm
Node.js安装与配置 http://www.linuxidc.com/Linux/2013-05/84836.htm
Socket.IO 和 Node.js 入门 http://www.linuxidc.com/Linux/2012-05/60447.htm
使用HTML5,WebSockets,nodejs和socket.io构建实时游戏 http://www.linuxidc.com/Linux/2012-06/61798.htm
Socket.IO 的详细介绍:请点这里
Socket.IO 的下载地址:请点这里
本文永久更新链接地址:http://www.linuxidc.com/Linux/2014-11/109734.htm