How to calculate the details about file transmission in packets.

Hi,

I have a message in a file which is transmitted from 1 machine to other in a LAN (over same network).

Can someone answer me that how can I calculate the,
1. Time message took to reach the destination?
2. Message break down into how many packets when transmitted?
3. What information is carried on each packet i.e. frame, header or any other relevant information.
4, How can I calculate the throughput of the messages.

Kindly help me ASAP.

Thanks
searchsanjaysharmaAsked:
Who is Participating?
 
StuWhitbyConnect With a Mentor Commented:
You don't state the OS involved, but....

- ensure clocks are NTP sync'd at both ends
- take a network trace to file (snoop/iptrace/tcpdump on Unix or install Wireshark on Windows and set a capture filter of "host <hostname>" to capture traffic to the other system.
- send the message
- stop the traces
- open Wireshark on both capture files and compare notes.  

tbh, just doing this on the destination host may be sufficient as you can expand the TCP frame details and SEQ/ACK analysis to show the response time for the packet.

Throughput..... kinda depends on exactly what you're looking for.  If you know the size of the message data (follow TCP stream gives you this number anyway) then in theory that would be taking the start and end time of the TCP stream involved and dividing this by the size of the data.  That doesn't take into account the additional data sent in each packet.... which personally I wouldn't care about, but may be necessary for what you're looking for here.

There might be a bit of manual work involved in calculating this, but Wireshark will give you everything you ask for above.  And it's free :)
0
 
searchsanjaysharmaAuthor Commented:
ok
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.