|
Question : Networking: TCP buffer questions
|
|
Can someone tell me stuff about this TCP's buffer thing? i am doing a simulation of using TCP over two different links, one is satellite and one is modem. But i am soo new to it. I have read the stuff on TCP, but first, how do we calculate the two ends' buffer size? I assume it;s smth like...
Buffersize = Rate of sending x Propagation delay time ?
And what;s the difference between the buffer size and the window size??? i am soooo confused~~~ :____(
Thanks.
|
Answer : Networking: TCP buffer questions
|
|
Hi,
let me explain some then if you have more questions you can ask.
your buffer size for both send and receive are fixed, i.e. 65500 bytes. TCP sends the size of the receive buffer which is free as the window size which is variable. As your application gets the bytes from this receive buffer, the buffer is freed and the window size advertised, is larger.
|
|
|
|