Jump to content

Tcp windowing am I even close to right


Recommended Posts

Posted

First post of 2013 you can kick me now. This question does not belong here.

Okay this how I think it works Shoot me if I am wrong.

Tcp windowing is for flow control. If a buffer fills up it tells the sending to slow down. It also determines how many packets can be sent without an ack. The idea is to provide reliable data transport. Does it set a timer to tell the other side to stop sending for a certain amount of time with the receive buffer is full. Is this close to being correct I should know this.

Posted (edited)

From what I recall in my cisco class, you can set the window size, for metric testing, and see where it fails, but in general, TCP, is a "if this packet fails, resend" protocol, unlike UDP, which is connectionless, where, it just says "hello world, I am talking, can you hear everything I am saying" and if any of that is not heard, oh well, you're shit out of luck because UDP, will not repeat itself. Its often why UDP, is used for video streaming and game play online, voip, etc, because, you don't want to be talking to someone, have packets come in out of order, adn then say, oh, you missed packets 3 and 9, resend, and then try to play that in real time, the info being streamed would be like trying to listen to yoda talk. The message would be out of order. TCP, keeps track of all packets, and when one if bad or missing, it resends them and then reassembles the data on your end using sequencing to keep track. The window, just tells the stack how large and how much data it can send at one time, and when the threshold fails, it reduces that window size, and breaks up the data into more fragments. In other words, lets see if we can fit 10 pounds of shit in a 5 pound bag and when it can't we'll get some more bads and then send the rest later, and you can dump it all in when you get it on your side and figure out where it all goes.

http://www.cisco.com/en/US/docs/ios/12_2t/12_2t8/feature/guide/tcpwslfn.html#wp1025043

http://ask.wireshark.org/questions/2365/tcp-window-size-and-scaling

Edited by digip

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...