Link to home
Start Free TrialLog in
Avatar of jskfan
jskfanFlag for Cyprus

asked on

Understanding TCP Windowing,

Understanding TCP Windowing,

I would like to know if TCP windowing works at the Router level or Switch Level or just between computers.
for instance if computer A is receiving Traffic from Computer B, then Computer A can tell Computer B to stop sending traffic if it cannot process all the traffic it has received. It can also tell Computer B to send more traffic if it is not busy enough ...



Any Expert to Elaborate on that ?

Thank you
Avatar of Dr. Klahn
Dr. Klahn

Are you referring to TCP window scaling, or something else?

TCP window scaling is under the control of the communicating hosts as part of the TCP protocol.  However, it is entirely separate from traffic control and window size modulation has little effect on traffic flow.
To elaborate a little on what Doc notes above.

Windowing will establish the number of packets that one host will send to another in a given timeframe before expecting to receive an ACK of those packets.  It will also have some control over the size of those packets though this functionality is established in the initial link negotiation and actively managed higher in the stack in congestion management, only communicated within flow control.
Avatar of jskfan

ASKER

Thank you Guys, when you said Host , did you mean a computer, a router, a switch ?
If I am not wrong,  devices that use TCP including computers,  will go through Sync , Ack, Syn Ack handshake .
 is TCP windowing part of this 3 way handshake ?

What I meant by TCP windowing is,  the receiver of TCP packets, can signal the sender to stop sending more packets when the receiver is too busy processing the previous packets, and it will signal the sender to send more packets when the receiver is not busy..
 However I am not sure if computers can assume this role of sender/receiver TCP windowing communication, or just routers and switches are able to do that
host = end device - generally a server or workstation but can include a printer, etc.

hand shake is syn, syn ack, ack, ack, ack, ack, ack, ack, ack.........

the ack is what says, "send more data".  If an ACK is not received inside window, then transmission pauses until a transmit condition is met.  E.g. re-negotiation of window/connection, loss of carrier, loss of connection/reset.

The transmission can also be interrupted by higher level protocol errors such as HTTP 503 - Server Busy
Avatar of jskfan

ASKER

OK so TCP windowing in this case is a function of Computer, printer,etc..., but not Switch or Router . Correct ?
ASKER CERTIFIED SOLUTION
Avatar of atlas_shuddered
atlas_shuddered
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jskfan

ASKER

only the two end devices will negotiate windowing
OK
Avatar of jskfan

ASKER

Thank you Guys!