利用插件整理代码,排序和移除不需要的引用。小心.Net2/.Net4的兼容问题
nnhy
authored at
2012-12-08 10:14:21
X
using System.Net.Sockets;
using NewLife.Net.Sockets;
namespace NewLife.Net.SGIP
{
/// <summary>SGIP服务器</summary>
public class SGIPServer : NetServer
{
#region 构造
/// <summary>实例化</summary>
public SGIPServer()
{
ProtocolType = ProtocolType.Tcp;
Port = 8801;
}
#endregion
}
}
|