in reply to Re: IP Packet count at regular intervals of time
in thread IP Packet count at regular intervals of time

sgifford, I don't think the problem is Time::HiRes.

The real issue here is that, Tk affects how events get handled. In a similar context, I noticed in the past that, when you use sleep function inside Tk program, sleep just functions as a drunk person.

The benefit to utilize Tk after is to give Tk the centralized control of periodical events.

  • Comment on Re: Re: IP Packet count at regular intervals of time