0% found this document useful (0 votes)
61 views2 pages

CS8581 CN Lab

The document provides instructions for writing several networking programs using sockets to implement various protocols and algorithms. These include: 1) An HTTP client that downloads a web page using TCP sockets and saves it as an HTML file. 2) An echo client/server pair that demonstrate basic TCP socket communication. 3) An interprocess chat program using TCP stream sockets. 4) A file server using TCP sockets that allows clients to request and download files or receive error messages. 5) A DNS resolver that maps domains to IP addresses using UDP sockets. 6) Programs to implement distance vector and link state routing algorithms to illustrate packet routing.

Uploaded by

Jansi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
61 views2 pages

CS8581 CN Lab

The document provides instructions for writing several networking programs using sockets to implement various protocols and algorithms. These include: 1) An HTTP client that downloads a web page using TCP sockets and saves it as an HTML file. 2) An echo client/server pair that demonstrate basic TCP socket communication. 3) An interprocess chat program using TCP stream sockets. 4) A file server using TCP sockets that allows clients to request and download files or receive error messages. 5) A DNS resolver that maps domains to IP addresses using UDP sockets. 6) Programs to implement distance vector and link state routing algorithms to illustrate packet routing.

Uploaded by

Jansi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

Write a simple HTTP web client program using TCP sockets to download a web page.

Get the URL and


pass it for buffering the content and write it as a html file and make it to get downloaded.

Write a program to implement echo client and echo server using TCP sockets. This client/server pair
runs a simple TCP socket program as an Echo Server that allows one/more client to connect to
the server.

Write a Program to implement inter process communication(chat) using stream sockets with the
help of socket interfaces provided TCP sockets.

Write a file server program using TCP sockets. The server sends a reply to the user with the files. The
user specified file needs to be downloaded. If the file does not exist, error message needs to be displayed
from the server.

Write a program to implement the DNS using UDP sockets. The DNS should have different domains with
corresponding IP addresses. Resolve the user given domain with the IP and display it to the user. Also
indicate the error message to the user when domain is not resolved.

Write a program to implement ARP/RARP protocols.

Write a program to implement distance vector routing algorithm and illustrate path taken for sending the
packets from source to destination.

Write a program to implement Link state routing algorithm and illustrate path taken for sending the
packets from source to destination.

Write a program to implement CRC error detection technique.

Write the use of the following network commands and simulate it to show its output with PDUs.

 tcpdump
 netstat
 ifconfig
 nslookup
 traceroute

Write any one congestion control mechanisms and simulate the functionalities using network simulator.

Write the illustration of any two routing protocols with network nodes/hop from a sender to receiver with
at least four or five computing nodes and simulate it in the packet tracer tool with the observed
performance evaluations for sending packets using those two protocols from sender to receiver.

Write the study of TCP/UDP performance and show it using anyone simulation tool.

Write the performance evaluation of any two routing protocols using any simulation tool.

You might also like