Question

What are the key tuples in the UDP socket and TCP socket?

What are the key tuples in the UDP socket and TCP socket?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

UDP and TCP are the two types of IP traffic.
UDP is a simpler,connection-less IP . UDP server processes all clients via the same socket and thus is identified by a two tuple consisting of the destination port number and the destination IP address. The IP address is used by the network layer to deliver the packet to the correct host. The host can then process the destination port field to deliver the UDP segment to the correct socket
TCP maintains a separate socket for every client-server communication as it is connection-oriented . TCP uses 4-tuple consisting of the source IP address, source port number, destination IP address, destination port number.
UDP-(destination IP, destination port)
TCP-(source IP, source port, destination IP, destination port)

Add a comment
Know the answer?
Add Answer to:
What are the key tuples in the UDP socket and TCP socket?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT