示例#1
0
        public void DoAfterAccept(AcceptRequest req)
        {
            SocketContext context = GetSocketContext();

            context.RawSocket = req.SocketEventArg.AcceptSocket;
            TcpServer.AddContext(context);
            context.DoAfterAccept();
            context.PostReceiveRequest();

            // 投递另外的接收请求
            CheckPostRequest();
        }