25 lines
622 B
C#
25 lines
622 B
C#
|
|
using System;
|
|||
|
|
using System.Runtime.CompilerServices;
|
|||
|
|
using System.Threading;
|
|||
|
|
using DotNetty.Buffers;
|
|||
|
|
|
|||
|
|
namespace base_kcp
|
|||
|
|
{
|
|||
|
|
class Program
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
|
|||
|
|
// static void Main(string[] args)
|
|||
|
|
// {
|
|||
|
|
// Kcp kcp = new Kcp(1,null);
|
|||
|
|
// Console.WriteLine(kcp.currentMs());
|
|||
|
|
// Thread.Sleep(5000);
|
|||
|
|
// Console.WriteLine((uint)kcp.currentMs());
|
|||
|
|
//// var byteBuffer = UnpooledByteBufferAllocator.Default.DirectBuffer(10);
|
|||
|
|
//// byteBuffer.WriteInt(55);
|
|||
|
|
//// Console.WriteLine(byteBuffer.ReadInt());
|
|||
|
|
//
|
|||
|
|
//
|
|||
|
|
// }
|
|||
|
|
}
|
|||
|
|
}
|