For Programmers: Free Programming Magazines  


Home > Archive > Tcl > June 2005 > Re: Need help in developing a Tk GUI to represent packet flow ina network









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Need help in developing a Tk GUI to represent packet flow ina network
sharad1087@rediffmail.com

2005-06-01, 9:04 am

I am not really concerned about the type of traffic. The information
residing with me is:
1. There are 2 devices D1 and D2.
2. D1 sends a packet to D2 at time T1 with certain attributes A1.
3. D2 sends a packet to D1 at time T2 with certain attributes A2.
4. D1 sends a packet to D2 at time T3 with certain attributes A3.
5. D2 sends a packet to D1 at time T4 with certain attributes A4.
and so on.

I need to represent this diagrammatically.

Initially I'll have the images for 2 devies on the canvas (say for
example).
Then, action 2 will somehow be made known to me. At this point of time,
the application should draw a link (packt flow) between D1 and D2.
Then, when action 3 takes place, draw a link between D2 and D1, and so
on.

This application will basically be plugged into another application
that can send and receive packets adhereing to different protocols. The
latter application takes care of send/receive of packets. The client
for this application will use the new application to diagrammatically
represent flow of packets.

Hope this explanation helps.

Sharad

Chris McDonald

2005-06-01, 9:04 am

sharad1087@rediffmail.com writes:

>I am not really concerned about the type of traffic. The information
>residing with me is:
>1. There are 2 devices D1 and D2.
>2. D1 sends a packet to D2 at time T1 with certain attributes A1.
>3. D2 sends a packet to D1 at time T2 with certain attributes A2.
>4. D1 sends a packet to D2 at time T3 with certain attributes A3.
>5. D2 sends a packet to D1 at time T4 with certain attributes A4.
>and so on.


>I need to represent this diagrammatically.



We saw a similar request from someone else about 2 ws ago.
Is this homework?

You may be interested in my
http://www.csse.uwa.edu.au/cnet/drawframes.html

________________________________________
______________________________________
Dr Chris McDonald E: chris@csse.uwa.edu.au
Computer Science & Software Engineering W: http://www.csse.uwa.edu.au/~chris
The University of Western Australia, M002 T: +618 6488 2533
Crawley, Western Australia, 6009 F: +618 6488 1089
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com