Stop and Wait Protocol Using Python

Authors

  • Shivaraj L S School of Computer Science and Engineering, REVA University, Bengaluru, India
  • Likhith G School of Computer Science and Engineering, REVA University, Bengaluru, India
  • Yashas Kumar S School of Computer Science and Engineering, REVA University, Bengaluru, India
  • Omkar S School of Computer Science and Engineering, REVA University, Bengaluru, India
  • Naveen Chandra Gowda School of Computer Science and Engineering, REVA University, Bengaluru, India

DOI:

https://doi.org/10.5281/zenodo.10254217

Keywords:

Socket programming, Server –side, Client-side, Stop -Wait-Mechanism, Packet Structure, Error Handling

Abstract

The Stop and Wait protocol is a widely used method for achieving reliable data transmission in anunreliable communication channel. This protocol ensures data accuracy by utilizing acknowledgments andretransmission. This abstract presents an implementation of the Stopand Wait protocol using Python. The process involves establishing a connection between a sender and receiver, dividing the data into packets,and transmitting them one at a time. The sender waits for acknowledgments from the receiver andretransmits any lost packets. The receiver verifies the integrity of the received packets and sendsacknowledgments to the sender. This iterative process continues until all data is successfully transmitted. The Python implementation provides a practical and versatile approach for simulating and testing reliabledata transmission, enabling developers to evaluate the protocol's effectiveness and performance underdifferent conditions and network scenarios.

References

A. Prasetyo, “Stop-and-Wait ARQ,” Dunia Informatika, [Online]. Available: http://duniainformatikaindonesia.blogspot.co.id/2013/03/Stop-and-Wait-arq.html. [Diakses 30 7 2016].

Ramadhan, Z., & Siahaan, A. P. U. (2016). Stop-and-Wait ARQ Technique for Repairing Frame and Acknowledgment Transmission. International Journal of Engineering Trends and Technology, 38(7), 384-387.

Varthis, E. G., & Fotiadis, D. I. (2006). A comparison of stop-and-wait and go-back-N ARQ schemes for IEEE 802.11 e wireless infrared networks. Computer communications, 29(8), 1015-1025.

Ramadhan, Z., & Siahaan, A. P. U. (2016). Stop-and-Wait ARQ Technique for Repairing Frame and Acknowledgment Transmission. International Journal of Engineering Trends and Technology, 38(7), 384-387.

Raja, D. K., Kumar, G. H., Basha, S. M., & Ahmed, S. T. (2022). Recommendations based on integrated matrix time decomposition and clustering optimization. International Journal of Performability Engineering, 18(4), 298.

Bukate, R. R. (2014). PM Ingale dan US Shid,“ARQ Strategies and Protocols for Relay Co-operative System,”. International Journal For Advance Research In Engineering And Technology, 2(11), 24-28.

Ahmed, S. T., & Basha, S. M. (2022). Information and Communication Theory-Source Coding Techniques-Part II. MileStone Research Publications.

I. Ma'ruf, “Prinsip Kerja Stop-and-Wait Flow Control,” Blogspot, [Online]. Available: http://irham93.blogspot.co.id/2013/06/prinsip-kerja-Stop-and-Wait-flow-control.html. [Diakses 30 7 2016].

Downloads

Published

2023-12-04

How to Cite

Shivaraj L S, Likhith G, Yashas Kumar S, Omkar S, & Naveen Chandra Gowda. (2023). Stop and Wait Protocol Using Python. International Journal of Computational Learning & Intelligence, 2(4), 143–147. https://doi.org/10.5281/zenodo.10254217

Issue

Section

RESEARCH ARTICLES