When you develop an application, you must choose one of the available transport-layer protocols. How do you make this choice? And, if you have to provide secure transmission for this application data, how it can be achieved?
We can choose either TCP or UDP, we choose TCP when we want to make sure that the data reaches successfully at the receiver and speed does not matter, so when we want reliable connection, choose udp when you want fast connection but it is not reliable as we won't know whether data received or not.
Then we will use TLS to provide secure transmission. Transport Layer Security (TLS) is a protocol that can be used with other protocols like UDP to provide security between applications communicating over an IP network. TLS uses encryption to ensure privacy, so that other parties can’t eavesdrop or tamper with the messages being sent.
Get Answers For Free
Most questions answered within 1 hours.