So i write this script, which counts income packets on certain port, and in case if theres too many packets script has to do something. On the first received packet is has to st