2010-12-13 13:07 by 江大鱼, 250 visits, 网摘, 收藏, 编辑
摘要:SuperSocket今天发布了1.3的第一个测试版,1.3版本会在发布2-3个测试版之后正式release.
此版本包含更新如下:
新功能:
* 新增UDP socket的支持
* 新增自定义协议支持(二进制协议和其它更复杂的协议)
* 在同步模式下支持SSL/TLS加密传输
Bug修复:
* 修复了一个潜在的在停止server之后没有没有更新server的running state的bug
* 修复了在清除超时session时同步的bug
* 修复了ArraySegmentList的一个bug
* 修复了一个获取配置参数的bug
第三方类库升级:
* upgraded SuperSocket to .NET 4.0
* upgraded EntLib 4.1 to 5.0
阅读全文
2010-12-08 14:39 by 江大鱼, 251 visits, 网摘, 收藏, 编辑
摘要:SuperSocket 1.0今天发布了SP1版本,用来修复1.0 stable发布之后所发现的bug.
该版本所修复的bug如下:
修复了一个潜在的在停止server之后没有没有更新server的running state的bug
修复了在清除超时session时同步的bug
修复了ArraySegmentList的一个bug
修复了一个获取配置参数的bug
阅读全文
2010-11-29 11:31 by 江大鱼, 508 visits, 网摘, 收藏, 编辑
摘要:今天,SuperWebSocket发布了第一个测试版。
该版本下载地址: http://superwebsocket.codeplex.com/releases/view/56547
SuperWebSocket项目主页: http://superwebsocket.codeplex.com/
SuperWebSocket是WebSocket协议服务器端的.NET实现.
作为HTML5的一个重要新特性,WebSocket 规范的目标是在浏览器中实现和服务器端双向通信.双向通信可以拓展浏览器上的应用类型,例如实时的数据推送(股票行情),游戏,聊天/im 等.
SuperWebSocket是基于.NET开源Socket框架SuperSocket开发的, SuperSocket所支持的大部分功能在SuperWebSocket中得到了继承。用户可通过SuperWebSocket来快速的构建可靠的,高性能的websocket服务器端应用程序。
和SuperSocket一样,SuperWebSocket可以控制台和windows服务的形式运行,同时它还支持直接运行在Webs
阅读全文
2010-07-11 15:09 by 江大鱼, 295 visits, 网摘, 收藏, 编辑
摘要:Main changes:
* Fixed bugs in socket communications
* Added more socket server configurations
* Improved the command parser structure
* Implemented the best async socket communication practice using SocketAsyncEventArgs and BufferManager
* Removed/moved unused files
* Changed license to Apache License Version 2.0
阅读全文
2010-06-11 10:23 by 江大鱼, 3456 visits, 网摘, 收藏, 编辑
摘要:This guide will introduce how to create a simple command line socket application using SupperSocket application framework.
About SuperSocket: http://www.cnblogs.com/jzywh/archive/2010/06/09/supersocket.html
阅读全文
2010-06-09 13:39 by 江大鱼, 619 visits, 网摘, 收藏, 编辑
摘要:SuperSocket is an extensible socket application framework. You can use it to build a command based server side socket application easily without thinking about how to use socket, how to maintain the socket connections and how socket works(synchronize/asynchronize).
It is a pure C# project which is designed to be extended, so it is easy to be integrated to your existing system. As long as your systems (like forum/CRM/MIS/HRM/ERP) are developed in .NET language, you must be able to use SuperSoc
阅读全文
2008-11-02 14:17 by 江大鱼, 4750 visits, 网摘, 收藏, 编辑
摘要:我的前面一篇文章提到了如何在使用了ASP.NET form authentication的二级站点之间共享登陆状态,
http://www.cnblogs.com/jzywh/archive/2007/09/23/902905.html,
今天, 我要写的是如何在二级域名站点之间,主站点和二级域名站点之间共享Session。
阅读全文
2008-07-23 21:55 by 江大鱼, 2605 visits, 网摘, 收藏, 编辑
摘要:博客园已有几位同学发表了关于FileSystemWatcher事件多次触发的解决方法的文章,很好地解决了事件多次激发的问题。
主要方法有:
1.延迟激发法。
http://www.cnblogs.com/dragon/archive/2008/07/04/filesystemwatcher.html
原理是延迟调用事件的代理,将多次事件合并为一次,从而很好的解决了此问题,唯一的缺憾是时间激发不及时,不适用于实时性较高的系统。
2.临时禁用法.
3.检查最后更新时间法.
阅读全文
2008-04-20 21:48 by 江大鱼, 1233 visits, 网摘, 收藏, 编辑
摘要:The class System.Convert provide two basic methods "ToBase64String()" and "Convert.FromBase64String()" to encode a byte array to a base64 string and decode a base64 string to a byte array.
It is very good to use them to encode and decode base64. But in some case, it is a disaster.
For example, if you want to encode a 4 gb file to base64, the code above must throw an OutOfMemory exception., because you must read the file into a byte array. So we need to look for another way to e
阅读全文
2006-05-23 16:23 by 江大鱼, 922 visits, 网摘, 收藏, 编辑
摘要:在.net 1.1中我们要实现压缩这一功能,一般都是用open source的SharpZipLib 或者调用J#类库。
现在在.net 2.0中增加了压缩功能,名字空间为 using System.IO.Compression;
阅读全文