SuperSocket 入门介绍

SuperSocket是一款简单易用的跨平台Socket应用框架,帮助开发者轻松构建多种服务器端Socket应用,如FTP、SMTP等,无需关注底层Socket细节。支持同步和异步通信模式,自动生成SSL/TLS加密,支持多实例运行,适用于.NET系统。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

SuperSocket is a light weight, cross platform and extensible socket application framework. You can use it to build a server side socket application (like FTP server, SMTP/POP3/IMAP4 server, SIP server, SNMP 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.

The source code of SuperSocket also include some service implementation samples which you can follow.

Latest release:

SuperSocket 1.4 SP1    http://supersocket.codeplex.com/releases/view/73641

Features:

  • 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
  • Support running in Unix system (by Mono 2.10 or above version)
  • Built-in socket policy server for Flash and Silverlight clients which you can use directly
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值