255x Filetype PDF File size 1.37 MB Source: gitjaipur.com
GLOBAL INSTITUTE OF TECHNOLOGY
(Approved by AICTE and Affiliated to RTU, Kota)
LABORATORY MANUAL
(2019-2020)
NP LAB
II Year & IV Semester
Computer Science & Engineering
DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING
1
INDEX
S.No. Contents Page No.
1 Syllabus 3
2 List of Lab experiments 4
3 Course Objectives & Course Outcomes 5
4 Content beyond syllabus 6
5 Experiments 7-59
6 Viva Questions 60
2
SYLLABUS
4CS4-23: Network Programming Lab
0L+0T+3P Credit: 1.5 Max. Marks: 75(IA:45, ETE:30)
List of Experiments:
1. Study of Different Type of LAN& Network Equipments.
2. Study and Verification of standard Network topologies i.e. Star, Bus, Ring etc.
3. LAN installations and Configurations.
4. Write a program to implement various types of error correcting techniques.
5. Write a program to implement various types of farming methods.
6. Write two programs in C: hello client and hello server
a. The server listens for, and accepts, a single TCP connection; it reads all
The data it can from that connection, and prints it to the screen; then it
Closes the connection
b. The client connects to the server, sends the string “Hello, world!”, then
Close the connection
7. Write an Echo Client and Echo server using TCP to estimate the round trip
Time from client to the server. The server should be such that it can accept
Multiple connections at any given time.
8. Repeat Exercises 6 & 7 for UDP.
9. Repeat Exercise 7 with multiplexed I/O operations.
10. Simulate Bellman-Ford Routing algorithm in NS2.
3
NETWORK PROGRAMMING LAB Year : II
Global Institute Technology, Jaipur 4CS4-23
(Approved by AICTE and Affiliated to RTU, Kota) COMPUTER SCIENCE & ENGINEERING Sem : IV
0L+0T+3P Credit: 1.5 Max. Marks: 75(IA:45, ETE:30)
List of Lab Experiments
Experiment No:-1 Study of different type of NETWORK TOPOLOGIES
Experiment No:-2 Study of LAN,MAN,WAN and connecting devices
Experiment No:-3 Write a programs in C: hello client (The server listens for, and accepts,
a single TCP connection; it reads all the data it can from that
connection, and prints it to the screen; then it closes the connection)
Experiment No:-4 Write a programs in C: hello server
(The client connects to the server, sends the string “Hello, world!”,
then closes the connection )
Experiment No:-5 Write a programs in C for TCP and UDP chat server
Experiment No:-6 Write a programs in C: hello client (The server listens for, and accepts,
a single UDP connection; it reads all the data it can from that
connection, and prints it to the screen; then it closes the connection)
Experiment No:-7 Write a programs in C: hello server
(The client connects to the server, sends the string “Hello, world!”,
then closes the connection )
Experiment No:-8 Write an Echo server using TCP to estimate the round trip time
From client to the server. The server should be such that it can accept
multiple connections at any given time , with multiplexed I/O
operations
Experiment No:-9 Simulate Bellman-Ford Routing algorithm in NS2
LAN installation and configuration
Experiment No:-10 Simulation of sliding window protocol.
Experiment No:-11 Simulation of File transfer protocol.
4
no reviews yet
Please Login to review.