Skip to content

This contains implementation of three connection oriented protocols of Computer Network,as part of MU(University of Mumbai) Practical Syllabus

Notifications You must be signed in to change notification settings

sungod12/MUPracticalPrograms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Computer Networking Concepts-

This is repository which was created by me in my second year as part of github learning process.

Note:This is not complete or accurate implementation of protocols.I tried to implement the working which I understood.

This repo consists of 3 programs which implements 3 concepts of connection oriented protocols-

1)StopandWait

2)GoBackN

3)Selective Repeat

What do terms mean?🤔 1)StopandWait ~StopandWait is simple connection oriented protocol which checks for acknowledgment from receiver after sending the packets.If ack is received then packets are sent,otherwise it comes to halt.

Following diagram will help you understand better- image

2)GoBackN ~GoBackN was developed to remove the problem of StopandWait.It sends packets in specific window size.After sending packets,it slides the window.After sending all the packets if receiver says it hasnt received a particular packet.Then all the packets <=packetnotreceived is sent again,which could create the problem of duplicate packets.

Following diagram will help you understand better- image

3)SelectiveRepeat ~SelectiveRepeat was developed to solve the problem of duplicate packets at receivers side.It follows the same procedure of sending packets as GoBackN but sends only that packet instead of sending duplicate packets to receiver.

Following diagram will help you understand better- image

Images taken from- https://www.geeksforgeeks.org/

About

This contains implementation of three connection oriented protocols of Computer Network,as part of MU(University of Mumbai) Practical Syllabus

Topics

Resources

Stars

Watchers

Forks

Languages