SuperSocket 是一个轻量级的可扩展的 Socket ">开发框架,可用来构建一个服务器端 Socket 程序,而无需了解如何使用 Socket,如何维护Socket连接,Socket是如何工作的。该项目使用纯 C# 开发,易于扩展和集成到已有的项目。只要你的已有系统(forum/CRM/MIS/HRM/ERP)是使用.NET开发的,你都能够使用 SuperSocket来轻易的开发出你需要的Socket应用程序来集成到你的现有系统之中。
SuperSocket is a light weight extensible socket application framework. You can use it to build a server side socket application (like FTP server, SMTP/POP3/IMAP4 server, SIP server, etc) 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. If your systems (like forum/CRM/MIS/HRM/ERP) are developed in .NET language, you must be able to use SuperSocket to build your socket application as a part of your current system perfectly.
I know there are two famous NIO open source frameworks named "MINA" and "Netty" in Java World which are used widely by developers. If you want to look for a .NET portion of MINA or Netty, I suggest you try SuperSocket, although SuperSocket is not strong like MINA and Netty but it is very simple and you can use it easily.
SuperSocket的特点:
·Very easy to use. You can create a robust socket server only by several classes
·Support Sync and Async communication modes. You can change your socket server running mode by only changing configuration wihtout any code changes
·Support custom protocol, no matter your protocol is a command line protocol or a binary one. Another open source project ·SuperWebSocket is built upon SuperSocket and take advantage of this custom protocol feature of it.
·Support SSL/TLS encryption automatically
·Support multiple socket server instances. You can define many socket servers on different ports in configuration, SuperSocket can run those servers in the same application/service
·SuperSocket can run as console application and windows service. It provide a bat file to install SuperSocket as a windows service.
·Flexible logging strategy which can log most of socket activities
·Also support UDP socket
·Support IPv6
·Support Windows Azure
更新日志:
·Windows Azure 支持
·让TCP keep alive options 可配置
·将 clearIdleSession's d默认配置值改为false
·改进性能数据采集API
·简化CustomProtocol: 不必每次都为command reader设置NextCommandReader, 如果你想讲下此接受的数据交由另一个command reader实例来处理的话才需要设置
·Mono 支持 (当前只支持windows环境, Linux/Unix上的Mono将在下个测试版中支持)
·修正了方法SendResponse(byte[] data)在UDP session中未被实现的bug
·修正了当创建多个服务器实例的情况下会产生多余的log文件夹的bug
下载地址:http://supersocket.codeplex.com/releases/63278/download/221273