发布于 2014-11-22 23:17:47 | 254 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的精品教程,程序狗速度看过来!

Socket.IO

Socket.IO 实现了实时双向的基于事件的通讯机制。旨在让各种浏览器与移动设备上实现实时app功能,模糊化各种传输机制。


Socket.IO 1.2.1 发布,此版本包括非常重要的 bug 修复,改进了 CDN 的 DNS 服务的可靠性(导致在 2014 年 11 月 5 日有一次短暂的停机)。

Socket.IO 实现了实时双向的基于事件的通讯机制。旨在让各种浏览器与移动设备上实现实时app功能,模糊化各种传输机制。

改进记录

服务器

  • Bumped engine.io to include a fix for leaks in the ws WebSocket Server. Thanks @3rd-Eden for his ws patch.

  • Prevent a crash that arises from a socket.io-protocol violation. Sending a null engine.io message packet would throw an exception, which wasn’t being translated into an error event.

  • Propagate all error events from the underlying transport to the open Socket 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…).



历史版本 :
Socket.IO 2.0 发布,实时应用程序框架
Socket.IO 1.4.1/1.4.2/1.4.3,支持 NativeScript
Socket.IO 1.3.6 发布,bug 修复版本
Socket.IO 1.3.5 发布,解析器修复
Socket.IO 1.3.4 发布,BUG 修复版本
Socket.IO 1.3.3 发布,修复解析器的 BUG
Socket.IO 1.3.0 发布
Socket.IO 1.2.1 发布
Socket.IO 1.2.0 发布,重要 bug 修复和 API 更新
Socket.IO 1.1.0 发布
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务