Differences between Datagram and stream

Write some differences between Datagram and stream?

E

Expert

Verified

Datagram versus stream: The stream can be considered as a pipe which permits full duplex connection. A datagram or a packet on other hand contains a source and a destination. There is no connection. The stream is similar to a communication channel whereas datagram is totally self contained. Streams give a consistent and sequenced communication. Datagram’s on other hand are untrustworthy and there is no sequence maintained.   

   Related Questions in Computer Networking

©TutorsGlobe All rights reserved 2022-2023.