PROGRAM USING TCP SOCKETS
EX NO: 1.i DATE AND TIME SERVER
AIM:
TO implement date and time display from local host to server using TCP
ALGORITHM: CLIENT
1.start the program
2. To create a socket in client to server.
3. the client connection accept to the server and replay to read the system date and time.
5. Stop the program.
ALGORITHM: SERVER
1.start the program
2. To create a socket in server to client.
3. To display the current date and time to client
5. Stop the program.
EX NO:1.ii CLIENT-SERVER APPLICATION FOR CHAT
AIM:
To write a client-server application for chat using TCP
ALGORITHM: CLIENT
1.start the program
2. To create a socket in client to server.
3. The client establishes …show more content…
To create a socket in server to client
3. The server establishes a connection to the client.
4. The server accept the connection and to send the data from server to client and vice ersa 5. The server communicate the client to send the end of the message
6.Stop the program.
EX NO:1.iii IMPLEMENTATION OF TCP/IP ECHO
AIM:
To implementation of echo client server using TCP/IP
ALGORITHM:
1.start the program
2 To create a socket in client to server.
3. 3he client establishes a connection to the server.
4. The client accept the connection and send data to server and the server to replay the echo message to the client
5. The client communicate the server to send the end of the message
6. Stop the program.
Ex No:2 PROGRAM USING SIMPLE UDP
EX NO:2.i DOMAIN NAME SYSTEM
AIM:
To write a C program to develop a DNS client server to resolve the given hostname. ALGORITHM:
1. Create a new file. Enter the domain name and address in that file.
2. To establish the connection between client and server.
3. Compile and execute the program.
4. Enter the domain name as input.
5. The IP address corresponding to the domain name is display on the screen
6. Enter the IP address on the …show more content…
EX No: 05 SIMULATION OF SLIDING WINDOW PROTOCOL
AIM:
To write a C program to perform sliding window.
ALGORITHM:
1. Start the program.
2. Get the frame size from the user
3. To create the frame based on the user