Microsoft Certified Systems Engineer (MCSE) Question:
Datagram vs. stream.
Answer:
Stream can be considered as a pipe that allows full duplex connection. A datagram or a packet on the other hand, has a source and a destination. There is no connection. Stream is like a communication channel while datagram is completely self contained. Streams provide a reliable and sequenced communication. Datagram’s on the other hand are unreliable and no sequence maintained.
Previous Question | Next Question |
What is the socket? | What is a stream socket? |