Answer to Question #190664 in Computer Networks for likitha

Question #190664

suppose you want to make a connection between the client and server using connectionless oriented approach. So for it which protocol will be referred and why .elaborate the steps


1
Expert's answer
2021-05-08T05:53:34-0400


Step 1

A connectionless service is a one where the data is transferred from server to client without creating any connection between the two ends.


Step 2

User Datagram Protocol or UDP is used for connectionless approach. In UDP the server does not accept any connection, it just waits for the datagrams, once arrived the datagrams which has the address of the sender which is used by the server to send data to correct client.


Steps involved in the entire process:


Server side -


Creating UDP socket.

Binding the socket to server address.

Waiting until datagram packets arrive from client.

Processing the datagram packet and sending a reply to client.

Going back to the

3rd step.

Client side -


Creating UDP socket.

Sending message to server.

Waiting until response from server arrives.

Processing reply and going back to 2nd if necessary.

Closing socket descriptor and exiting


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS