Ejemplo n.º 1
0
        public Class114(string string_0, int int_2, int maxConnections, SocketsManager class113_1)
        {
            this.int_1    = Process.GetCurrentProcess().Id;
            this.socket_0 = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
            IPEndPoint localEP = new IPEndPoint(IPAddress.Parse(HabboIM.GetConfig().data["game.tcp.bindip"]), int_2);

            this.socket_0.Bind(localEP);
            this.socket_0.Listen(maxConnections + (maxConnections / 2));
            this.asyncCallback_0 = new AsyncCallback(this.method_4);
            this.class113_0      = class113_1;
            AntiDDosSystem.SetupTcpAuthorization(20000);
            Console.BackgroundColor = ConsoleColor.Black;
            Logging.WriteLine("Emulator wurde gestartet! Port: " + int_2 + " | Maximal erlaubte Habbos: " + maxConnections);
        }
Ejemplo n.º 2
0
 public void method_2()
 {
     this.method_1();
     this.socket_0   = null;
     this.class113_0 = null;
 }