In: Computer Science
when you develop an application, you must choose one of the available transport layer protocols. how do you make the choice? And, if you have to provide secure transmission for this application data, how it can be achieved?
ANSWERS :
ANS 1. When we develop an application, we must choose one of the available transport layer protocols. In following way we can make the choice :
The most common Transport Layer Protocol to choose from :
1. TCP ( Transmission Control Protocol )
2. UDP ( User Datagram Protocol )
To make the choice following things needs to be considered :
--- For selecting TCP :
1. If the segments of the data are required to arrive in a proper sequence TCP used.
2. If complete data is required to be received to begin the execution as a whole TCP is used.
3. Mainly In applications like : web browser , databases , emails etc.
--- For selecting UDP :
1. If we want that data should not get delayed, even if some data is lost on the way but the remaning should reach on exact time UDP is used.
2. In those networks where less overhead is required UDP is best choice.
3. Mainly in applications like : Streaming Videos and Audios .
---- The secure transmission for the application data can be acheived by following :
1. By sending the encrypted data throughout the transmission , so that no unknown can misuse it.
2. By including the SSL ( Securing Socket layers ) protocol for additional security.
3. By protecting the application and the data with the help of a proper Firewall.
4. Maintaining proper and controlled access within the network also.