摘要:
TelnetSever.cs 1 public class TelnetServer : AppServer 2 { 3 protected override bool Setup(IRootConfig rootConfig, IServerConfig confi... 阅读全文
posted @ 2015-08-06 11:56
Just_Do
阅读(397)
评论(0)
推荐(0)
摘要:
TelnetSession.cs 1 public class TelnetSession:AppSession 2 { 3 protected override void OnSessionStarted() 4 { 5 S... 阅读全文
posted @ 2015-08-06 11:31
Just_Do
阅读(666)
评论(0)
推荐(0)
摘要:
要点:1.请求类必须继承CommandBase 2.请求类类名为请求对象中的Key值,大小写可以不区分 3.类必须用public修饰,否则无法识别该请求,提示为无效请求 4.不能再调用NewRequestReceived事件代码实现:Progra... 阅读全文
posted @ 2015-08-06 11:04
Just_Do
阅读(422)
评论(0)
推荐(0)
摘要:
step1.先加入库SuperSocket.Common.dll, SuperSocket.SocketBase.dll, SuperSocket.SocketEngine.dll,log4net.dll,System.Threading.dll。同时还需引入NET中的System.Configur... 阅读全文
posted @ 2015-08-06 10:59
Just_Do
阅读(1488)
评论(0)
推荐(0)


浙公网安备 33010602011771号