mtu - TCP file Transfer window size -


i'm trying reverse engineer application, , need understanding how tcp window size works. mtu 1460 application transfers file using tcp point b. know following:

  • the file split segments of size 8k
  • each segment compressed
  • then each segment sent point b on tcp. these segment text file can of size 148 bytes, , pdf 6000 bytes.

for text file, supposed see segments of 148 attached 1 form 1 large tcp stream? , split according window size?

any appreciated.

the receiver application should see data in teh same way, sender application sent it. tcp uses byte-streaming , collects bytes in in-order manner , delivers application. mtu largely internal semantics tcp , not take application-layer packet boundaries. if tcp has enough data send in send buffer (each tcp socket has own send buffer, btw), package next segment worth mtu size , sends it; more precise, deducts tcp , ip header mtu size.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -