Pool for socket async context objects that share the same memory buffer
Ejemplo n.º 1
0
 public ServerEntity(Socket socket, int worldID, World world, SocketAsyncPool asyncPool)
     : base(socket, worldID, asyncPool.GetArgs(), asyncPool.GetArgs())
 {
     m_asyncPool = asyncPool;
     Name = worldID.ToString();
     m_world = world;
 }
Ejemplo n.º 2
0
 public ServerEntity(Socket socket, int worldID, World world, SocketAsyncPool asyncPool)
     : base(socket, worldID, asyncPool.GetArgs(), asyncPool.GetArgs())
 {
     m_asyncPool = asyncPool;
     Name        = worldID.ToString();
     m_world     = world;
 }