Just to recap, connection-less protocols are used when there is only one short message to send or when the data stream has a lot of redundancy in it or if it is not strictly necessary that it entirely reach the other side uncorrupted. Connection-oriented protocols are used when the integrity and wholesomeness of the data stream is very important, but there is more cost to setting up, maintaining and tearing down connections than just sending a single datagram. |