Computer Network Lab Manual / Computer networks Connection less client

Program Name

Write a C Program for Computer networks Connection less client.
Theory
1. Connection-Less service transfers packets between are send by source and received
by the destination nodes. In Connection-Less service the packets are not routed using any path.
It can transfer the data packets between senders to the receiver without creating any connection.

2. Standard Port Numbers: 7-ECHO, 13-DAYTIME, 19-CHARACTER GENERATION

3. 10.2.0.7= It is current server IP
Program Code


Input and Output:

Standard port numbers: 7-ECHO
Input: Enter a String: Hai
Output: Msg received from server: Hai


Standard port numbers: 13-DAYTIME
Input: Enter a String: Hai
Output: Msg received from server is: 23 NOV 2021 13:55:20 IST


Standard port Numbers: 19-CHARACTER GENERATION
Input: Enter a String: Hai
Output: Msg received from server is: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRhai 
10.2.0.7= It is current server IP.


Home     Back