https://csampleprogram.blogspot.com/2016/10/implement-stop-and-wait-protocol-program.html
Implement Stop and Wait Protocol Program