|
Post by Jim Brain on Aug 18, 2005 1:10:04 GMT -5
How many packets should the server send to the client before waiting?
Jim
|
|
|
Post by Keith Henrickson on Aug 18, 2005 2:06:43 GMT -5
Hmm. Good question. One of the other posts here suggest 16, as in, twice the clients window of 8. It is largely up to you. Basically, if the client gets a sequence error, it will ask you to retransmit some or all of your window. As in, if you transmit packets 20-36 for a window size of 16, the client could request any of those to be retransmitted. You could be adaptive like TCP. If you see the window is being repeatedly re-requested, reduce your window size. If you haven't seen any retransmit requests in a long time, increase your window size.
|
|
|
Post by Jim Brain on Aug 21, 2005 2:13:25 GMT -5
Right now, I have it set to 8, but might bump it up.
I think I have a pretty robust Layer 2 now, as I can recover from $25 sequence errors. Took a while to implement it correctly.
|
|