CS3591 Set2
CS3591 Set2
1. 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. Also use the shutdown
system call to improve the performance programs.
2. Write a program on datagram socket for client/server to display the messages on client side, typed at the
server side
3. Write a program to implement CHAT using UDP for client and server.
4. Write the client and server programs for simple data (hello) transfer between client and server using
UDP. Client will send hello server message to the server program. In its reply the server will send hello
client message. The server and client programs should reside on different computers in a network.
5. Using TCP sockets, write a client – server program to make the client send the file name and to make
the server send back the contents of the requested file if present.
6. Assume Client program is running on Machine A and server program on B. Write a program to ensure
that the data received by server on machine B is the same data which was sent by the client program on
machine A. Implement the scheme through which you can recover/calculate the lost data. Write the
client and server programs for showing the result.
7. Write programs for implementing the sliding window protocol of window size 5.
8. Write the client and server programs for implementing the broadcasting in the local network.
9. Write the program for implementing the IP Routing, protocol using Address tables
10. Write the program for implementing the client for Simple mail transfer protocol.
11. Write the client and server programs, where client will send a file containing any C-program, server will
compile and executes the file given by the client and if error occurs during compilation or execution
server will send back the appropriate message to the client otherwise server will send the executable file
to the client.
Page 1 of 2
12. Implement the data link layer framing methods such as character count, character stuffing and bit
stuffing.
13. Implement transmission of ping messages/trace route over a network topology consisting of 6 nodes and
find the number of packets dropped due to congestion.
14. Write a program on datagram socket for client/server to display the messages on client side, typed at the
server side.
15. Write a program to implement a subnet graph with weights indicating delay between nodes
19. Write a program to distance vector routing protocol and find out the path for sending the packets from
client and server.
20. Write a program to design a TCP iterative client server application to reverse the given input sequence.
Page 2 of 2