예제 #1
0
        protected virtual NetConnection Create(PacketDirection packetDirection, Socket socket, ConnectionConfirmed confirmedAction = null)
        {
            NetConnection conn = new NetConnection(packetDirection, socket, confirmedAction);

            return(conn);
        }
예제 #2
0
파일: NetServer.cs 프로젝트: lvyitian/Alex
 private void ConfirmdAction(NetConnection conn)
 {
     OnConnectionAccepted?.Invoke(this, new ConnectionAcceptedEventArgs(conn));
 }