[ee122] flow control for project 2

vern at cs.berkeley.edu vern at cs.berkeley.edu
Wed Dec 5 22:22:38 PST 2007

> I am just taking packets from the queue and putting them in the buffer
> passed in from my_recv.

You should not put them in the buffer passed in to my_recv() unless the
data is in-order.  That is, your transport protocol needs to manage its
own buffer (for possibly out-of-order arrivals) and only transfers the
in-sequence bytestream to the buffer passed in.


More information about the ee122 mailing list