MCQs City stays free thanks to ads. Please turn off your ad blocker for this site so content and features keep working.
Computer Networks
Computer Networks Assessment
Q
Which classes are used for connection-less socket programming?
AA. Datagram socket
BB. Datagram packet
CC. Both datagram socket & datagram packet
DD. Server socket
Correct Answer:
C. C. Both datagram socket & datagram packet
Explanation:
Datagram is basically some information travelling between the sender and the receiver, but there is no guarantee of its content, arrival or arrival time. Datagram Socket, Datagram Packet are used for connection-less socket programming, while Server Socket is used for connection-oriented socket programming.