Professional Documents
Culture Documents
Iitial Pages of SIMULATION OF NETWORK PROTOCOLS
Iitial Pages of SIMULATION OF NETWORK PROTOCOLS
We hereby declare that the project work entitled as Simulation of Network Protocols, is done
by us for the partial fulfilment of the requirements for the degree of Bachelor of Technology
(B.Tech) under the guidance of Ms Prabha Gupta. The matter embodied in this project work has
not been submitted earlier for award of any degree or diploma to the best of my knowledge and
belief.
TANYA NANDA
Enroll no. 16113302710
ANKITA VERMA
Enroll no. 16513302710
NIYATI JAIN
Enroll no. 17213302710
CERTIFICATE
This is to certify that the project entitled SIMULATION OF NETWORK PROTOCOLS
submitted by Tanya Nanda, Ankita Verma and Niyati Jain to the Department of Computer
Science, HMR Institute of Technology & Management, New Delhi-36 for the partial fulfilment
of the requirements of the Minor-Project of Bachelor of Technology, is a record of the original
bonafide project work carried out by them under my supervision and guidance.
The results contained in this report have not been submitted in part or full to any other University
or Institute for the award of any Degree, Diploma or Certificate.
Ms PRABHA GUPTA
Assistant Professor
Department Of Computer Science & Engineering
HMRITM
ii
ACKNOWLEDGEMENT
It gives us great pleasure in proliferation of this project during the academic year 2013
denominated Simulation of Network protocols. I express my sincere gratitude to the HOD of
Computer science Dept. Mr. Anil Kr. Vats , our proctors Mr. Ravinder Beniwal and Mrs.
Asha Pahuja and last but not the least our guide, Ms Prabha Gupta, for her valuable guidance,
proper advice and constant encouragement under her tutelage. Last but not the least, I wish to
express my sincere thanks to all our professors, friends and colleagues who helped us directly or
indirectly in the completion of this project.
TANYA NANDA
Enroll no. 16113302710
ANKITA VERMA
Enroll no. 16513302710
NIYATI JAIN
Enroll no. 17213302710
iii
ABSTRACT
The well planned, minor project helps a lot in including good team culture. It plays a very
important role in the engineering course of the student because this helps him/her in gaining
tremendous knowledge & experience as he/she can learn about the bundle of things which cant
be learnt in campus, so these projects are added in the course by various universities.
The project has been developed using Java language providing a good user interface. The project
will aid in understanding the key development concepts related to programming in Java for
customer requirement. The study would be exploratory in nature & hopefully lay the foundation
for future work in this area.
The project Simulation of Network Protocols is an application Software developed using
Java (Eclipse IDE) as front-end. It is an offline system that is used to simulate networking
protocols like Go back N and Selective Repeat using java concepts like applet etc. Throughout
the project the focus has been on presenting information and comments in an easy and
intelligible manner.
iv
CONTENTS
1. Introduction...................................................................................................................1
1.1 What is Simulation.1
1.1.1
Definition1
1.1.2
Types.......2
3. System Analysis...........................................................................................................7
3.1. Scope.....................................................................................................................7
3.2. Need for the Proposed System..............................................................................7
4. Software Requirement Specification............................................................................8
4.1. Modules and its Description..................................................................................8
4.1.1 Encapsulation.8
4.1.2 Protocols...9
4.1.3 Decapsulation.14
4.2. Functional Requirements.............................................................................15
4.3. Performance Requirements........................................................................... .15
4.4. Non Functional Requirements................................................................... .....16
4.5. External Interfaces Requirements........................................................................16
v
vii
viii
LIST OF TABLES
Table No.
Page No.
ix
LIST OF FIGURES
Figure No.
Page No.
Figure 16: Collaboration diagram for lost frame and time out in Go Back N......33
Figure 17: Sequence diagram for lost acknowledgement in Go Back N .34
Figure 18: Collaboration diagram for lost acknowledgement in Selective Repeat ....35
Figure 19: Collaboration diagram for lost frame and time out in Selective Repeat ...35
Figure 20: Spiral Model ................42
Figure 21: Test case1 frame sent by sender........51
Figure 22: Test case1 frame received by receiver.....................51
Figure 23: Test case 2 acknowledgement sent.....52
Figure 24: Test case 2 acknowledgement received.52
Figure 25: Test case3 resend frame after timeout .............................53
Figure 26: Test case 3 acknowledgement for resent frames.......53
Figure 27: Test case 3 acknowledgement received ..................................................54
Figure 28: Test case4 frame killed54
Figure 29: Test case 4 acknowledgement for received frames55
Figure 30: Test case 4 killed frame resend after time out55
Figure 31: Test case 4 acknowledgement received..56
For Selective Repeat
xi
xii
xiii