100% found this document useful (1 vote)
7K views

Difference Between Stream Oriented and Message Oriented

UDP uses message oriented communication where data is sent in discrete packages without an established connection and provides unreliable best effort delivery without acknowledgement. TCP uses stream oriented communication which requires an established connection, provides reliable data transmission with lost data automatically retransmitted, and includes flow control but at a lower transmission speed than UDP.

Uploaded by

sampathabo
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
7K views

Difference Between Stream Oriented and Message Oriented

UDP uses message oriented communication where data is sent in discrete packages without an established connection and provides unreliable best effort delivery without acknowledgement. TCP uses stream oriented communication which requires an established connection, provides reliable data transmission with lost data automatically retransmitted, and includes flow control but at a lower transmission speed than UDP.

Uploaded by

sampathabo
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Message oriented communication Stream oriented communication

UDP (user data gram protocol) uses TCP (transmission contact protocol) uses
manage oriented communication stream oriented communication

Data is sent by application in discrete Data is sent by with no particular structure.


packages called message.

Communication is connection less, data is Communication is oriented, connection


sent without any setup. established before comm.

It is unreliable best effort delivery without It is reliable, data acknowledged.


acknowledgement.

Re transmission is not performed. Lost data is reframe automatically.

Low overhead. High overhead.

No flow control. Flow control using sent protocol like sliding

Transmission speed is very high as Transmission speed is lower as compared to


compared to stream-oriented. message oriented.

Suitable for applications like audio, video Suitable for applications like e-mail system
where speed is critical than loss of where data must be persistent through
messages. delivered late.

You might also like