Writing Stop and wait ARQ function in C

I wanna ask for the logic or sample code of how to write the function as title.
Thanks!
Last edited on
Topic archived. No new replies allowed.