Question: how tcp window size is determined?
Answer: TCP Window Scale The TCP header value allocated for the window size is two bytes long. This means that the highest possible numeric value for a receive window is 65,535 bytes.