Skip to content

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

Notifications You must be signed in to change notification settings

HarinKhakhi/go-back-n

Repository files navigation

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.

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages