0% found this document useful (0 votes)
33 views1 page

CN Lab

Uploaded by

Subash M
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views1 page

CN Lab

Uploaded by

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

1.

Write a program with input “ 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.

2. Write the Echo client and server programs using UDP. The Echo clients
should verify whether the text string they received from the server is the same
text string that they sent or not.

3. To implement a CHAT application using TCP Socket communication for


client and server. Both can run in the same machine or different machines.

4. Write program to implement DNS using UDP Sockets by getting any frame
size based on the user request and send the frames to server

5. Write a program to implement to transfer the files using TCP socket.

6. Write the program for simulating the ARP protocol by reading an IP address
and returning the MAC address.

7. Write a program for simulating RARP protocols using UDP.

8. Write a program to implement CRC error detection techniques .Identify the


errors and display the error message.

9. Write a program to distance vector routing protocol and find out the path
for sending the packets from client and server.

You might also like