Question: Consider writing an application implementing a messaging service that could be used on mobile devices similar to Facebook Messenger or WhatsApp. You want the
Consider writing an application implementing a messaging service that could be used on mobile devices similar to Facebook Messenger or WhatsApp. You want the protocol to be as simple as possible, however you can choose TCP, UDP, or develop a custom protocol for this application. Identify which protocol you would use and briefly explain why (in one or two sentences) for each of the three scenarios: 1. A messaging service only for very small messages, e.g., text only; 2. A messaging service only for very long messages, e.g., video only; and 3. A messaging service for a variety of messages/hybrid messages, e.g., text, image, video, etc. Note: If you choose the option to create a custom protocol make sure you indicate what is needed from this protocol that isn't provided by TCP or UDP.
Step by Step Solution
3.47 Rating (173 Votes )
There are 3 Steps involved in it
A messaging service that only accepts very brief communications such as text messages TCP Transmission Control Protocol is the preferred protocol Expl... View full answer
Get step-by-step solutions from verified subject matter experts
