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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

StuWhitbyCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
searchsanjaysharmaAuthor Commented:
ok
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Network Analysis

From novice to tech pro — start learning today.