Implement flow control in a go-back-N protocol similar to TCP using given code. You will use Python (version 3) and implement only flow control the rest of the code is given to you, so the receiver must keep a buffer of received data, every time recv is called, the specified amount of data is returned and removed from the buffer. The buffer is of size W,W=262kb for this project. If the buffer is empty and recv is called, wait until there is something to return. Alternately, if there is no more room in the buffer, send() calls by the sender should not return or send anything until there is room. This is kept track of by the widow size field of each packet as in real TCP. Whenever you send an ack, include the room in your buffer at the moment in the window field as in real tcp. Lastly, you must send an ack when your buffer gets more room even if you did not get any packets.
** Finally make sure the code works in linux environment
10 freelancers estão ofertando em média $41 para esse trabalho
hello! I am experienced C/C++, Python developer. I have great knowledge in socket programming and have full depth understanding of the network protocols and idioms. please contact me for further discussion.
hi! I have read your description carefully and got interested in your project. As a Python expert, I am the best candidate for your project. Hire me, then you will succeed with my brilliant product. Thanks!