2010-06-11 10:23 by 江大鱼, 3443 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-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
阅读全文