Professional Documents
Culture Documents
National Institute of Technology Karnataka-NITK Surathkal Department of Information Technology Networks Lab Assignment-1
National Institute of Technology Karnataka-NITK Surathkal Department of Information Technology Networks Lab Assignment-1
Networks Lab
Assignment-1
1. Write C program to implement a TCP/UDP Client and Server for Echo Service.
The Client should interact with an echo server on a remote host and printout the
text string that has bounced from the server.
3. Write C program to implement a TCP/UDP Client and Server for the Daytime
Service. The Client should interact with a Daytime Service on a remote host and
printout the current date and time of both the server and client system.
7. Write a C program to implement a simple Finger Client and Server. The client
should try to authenticate a user who submits a login name and password. A list of
registered users and their passwords is stored at the server. The client should
display successful login for valid user.
1
8. Write a C program to implement an Iterative connection-oriented/connectionless
server. The server should provide a time service, to the clients that connect to it, on
a FCFS basis. Write a simple client program to test the server.
10. Write a C program to implement a server which provides many different types
of services based upon requests from clients. Write a menu driven program to test
the server.
Addition of 2 numbers
1. Multiplication of 2 numbers
2. Day time.