Microsoft Certified Systems Engineer (MCSE) Question:
Download Questions PDF

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.

Download MCSE Interview Questions And Answers PDF

Previous QuestionNext Question
What is the socket?What is a stream socket?