Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 731 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 731 Bytes

Go_Back_N-Protocol-in-C

Implementing go back n protcol of compuer networks in C language.

How to Use

First start the server_goback.c file by giving port number as a argument. Then start the client_goback.c file by giving ip address of server and prot number as arguments, in different terminal. Note : when running server and client on same machine give ip address of server : "127.0.0.1" which is local host.

Now enter a file name in client, if file exist in folder then server will send the file using go back n protocol. else server will send error packet.

Screen Shots are given for more understanding.

Improvement

1.) Add comments in client's code 2.) Implement multiple client support. 3.) Find bugs in this code.