This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

if given an image size (in bytes), could you tell how many messages/packets the server would have to send

0

Using wireshark, i was given an assignment to go to any webpage, right click on said image, goto properties and note the image size. Given this information, i used my browser to just request that one image. I was able to figure out how many packets it took for that image that was 6676 bytes. And if i did Wireshark correctly, i found that this image took 19 messages/packets to download.

So my question: "If i told you a given image was a certain size, could you tell me how many messages the server would have to send for that image?"

Please help!! Thank you in advance

asked 14 Nov '11, 20:47

Justin%20Lien's gravatar image

Justin Lien
1111
accept rate: 0%


One Answer:

1

That is virtually impossible to do. It depends on the (static) configuration of both sender and receiver TCP stack. Then it involves the implemented window scale / slow start / congestion avoidance options. And on top of that the path behavior, like packet loss and MTU limitations, influence what happens.

With so many unknowns it's impossible to accurately predict what will happen.

answered 14 Nov '11, 23:28

Jaap's gravatar image

Jaap ♦
11.7k16101
accept rate: 14%