随笔分类 -  English

摘要:Release Notes Includes: Source codeQuick start examplesChanges: Refactored the code about async receive commandImproved the code about receiving binary dataAdded independent logging files support for each socket server instancesAdded unit test projectImproved CommandParser and CommandParameterParser 阅读全文
posted @ 2010-09-09 10:33 江大渔 阅读(586) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2010-06-11 10:23 江大渔 阅读(12315) 评论(28) 推荐(0)
摘要: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 阅读全文
posted @ 2010-06-09 13:39 江大渔 阅读(2616) 评论(0) 推荐(1)
摘要: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 阅读全文
posted @ 2008-04-20 21:48 江大渔 阅读(2348) 评论(1) 推荐(0)