in reply to IP Packet count at regular intervals of time

As you said you are using Tk, why not give "after" a try. It allows you to sepcify ms, so 0.5 second is not a problem. For document, go "Tk", then "after".

my Re: setting up non-gui callbacks in Perl/Tk provides one example of using "after". It appears as "repeat", which is just a different face of "after".

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

Replies are listed 'Best First'.
Re: Re: IP Packet count at regular intervals of time
by prakashrj (Initiate) on Nov 24, 2003 at 05:42 UTC

    Thanks for your reference. I have just checked your program. Even with 10 ms intervals, it had a very smooth and great interface. I will read the documentation for Tk to use "after" or "repeat" function. Tk::Graph was very convenient, even thought I never written any code in Tk before.

    Thanks again for your help