Historique des commits

Auteur SHA1 Message Date
  tanghai 6e28634267 修复了服务端一些bug il y a 9 ans
  tanghai 1bbb40aee0 format代码 il y a 11 ans
  tanghai 6d169497ca 1.增加一个nuget命令行解析库 il y a 11 ans
  tanghai 885936f7dd 增加IRunner接口,World的Componet实现该接口会每帧调用Run方法 il y a 11 ans
  tanghai 250ea7fa11 1.使用ConcurrentQueue 代替 BlockingCollection, TNet性能有所提升 il y a 11 ans
  tanghai 574fc9585b 整理代码格式 il y a 11 ans
  tanghai 506accd7c7 TService测试OK il y a 11 ans
  tanghai 8ce25cc17b 抽出IService和IChannel接口,用TCP实现TService TChannel, UDP实现UService UChannel,可以非常方便切换TCP和UDP协议 il y a 11 ans
  tanghai d326e8102f 增加TServer和TSession两个类,TSession提供send和recv应用层缓冲区,应用层会先将数据读写到缓冲区.通过时间回调来触发真正的系统读写事件.如果应用层有大量小包,这样合并发送性能会非常高. il y a 11 ans
  tanghai d77386433e 1.实现异步Socket,与系统自带的NetworkStream不同的是,TSocket回调会回到poll线程,NetworkStream回调会回到不确定的线程. il y a 11 ans
  tanghai 7f36a36e4c 增加Accept方法 il y a 11 ans
  tanghai 9c6944986e 初步实现异步网络库,由于C#Socket是利用线程池发送和接收的,所以必须让发送接收线程完成后回调到poll线程,以后所有游戏逻辑都在poll线程执行 il y a 11 ans