public RatClients(Socket socket, int key) { _socket = socket; NetworkKey = key; _FloodProtector = new FloodProtector(2000, 1000); Read(); }
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>(); }