Exemple #1
0
        protected override InboundConnection CreateInboundConnection(Socket s, ServerBase server, int serviceID, bool isBlocking)
        {
            if (serviceID == 7) // 7eus
            {
                ZeusPatchInboundZeusConnection zcon = new ZeusPatchInboundZeusConnection(s, server, isBlocking);
                return(zcon);
            }

            UserConnection con = new UserConnection(s, server, isBlocking);

            return(con);
        }
Exemple #2
0
        protected override InboundConnection CreateInboundConnection(Socket s, ServerBase server, int serviceID, bool isBlocking)
        {
            if (serviceID == 7) // 7eus
            {
                ZeusPatchInboundZeusConnection zcon = new ZeusPatchInboundZeusConnection(s, server, isBlocking);
                return zcon;
            }

            UserConnection con = new UserConnection(s, server, isBlocking);
            return con;
        }