Exemple #1
0
 public RatClients(Socket socket, int key)
 {
     _socket = socket;
     NetworkKey = key;
     _FloodProtector = new FloodProtector(2000, 1000);
     Read();
 }
Exemple #2
0
        public FileClients(Socket socket, int key)
        {
            _socket = socket;
            NetworkKey = key;
            _FloodProtector = new FloodProtector(2000, 1000);

            //Lets send to the client first our socket info :P
            SendPacket(new S_RemoteIP(this));

            Read();
            _FileTransfer = new SortedList<short, FileTransfer>();
        }