In: Computer Science
1. What are the functions of sockets in networked
applications? Explain your answer
with a case scenario where you are receiving 10 packets from a
node. How will the
socket perform its role? [5 Marks]
2. YouTube is an example of stored multimedia type application,
discuss the
challenges and solutions of YouTube while playing multimedia
(audio/video) based
stored content. Justify your answer with an example (playing a
stream and taking
screenshots to explain). [5 Marks]
1.Function of socket in netwok application:-
Definition: A socket is one end point of a two-way communication link between two programs running on the network.A socket is bound to a port number so that the TCP layer can identify the application that data is destined to be sent to.
Functions:
- A network socket is a software structure within a network node of a computer network that serve a s a end point for sending and receiving data across the network.The structure and properties of socket are defined by an application programming interface (API) for the networking architecture.
- socket are created only during the lifetime of a process of an application running in the node.because of standardization of TCP/IP protocols in the development of the internet,the term network socket is most commonly used in the context of Internet protocol suite and it is also referred as internet socket.
-The socket is also used for software endpoint of node-innode-internal inter- process communication.
- An application can communicate with a remote process by exchanging data with TCP by knowing the combination of protocol type,IP address and port number.The combination is known as socket address.
It is the network facing access handle to the network socket.
2.The challenges and solution of while playing multimedia (audio/video)based stored content.
Answer:
unveiled a steaming television Service offering bundles of live channels in a direct challenge to traditional cable and pay TV.
The new service will allows subscribers to get access on any connected device to television network.
discuss about challenges and solution:
As the global demand for online video/audio, continues to explode, enterprises must find new media streaming solution in order to provide the video streaming services that is growing online audience demand, this is the big challenge for .
In addition to growing selection of services, the convergence encompasses advance in steaming video devices and TVs, fast and reliable internet connection, the popularity of watching TV on smartphone and tablets.
User expectations are growing daily; audience want to be able to access that highest quality video,on any device, in any location without waiting.
Steaming provider require solutions that enable them to;
• reach audience reliably where they are.
•scale quickly as needed, because they never know when a particular bit of video content will go viral.
•intelligently adjust to dynamic network environments and deliver the highest viewing quality possible, in any formal.
Example: we take a small problem and the discuss it's solution step by step.
Problem: video will not play/playback is slow or choppy/error message appears.
•solution 1) wait 30 minutes and try again, sometimes videos may not load currently because of high traffic.the issue may resolve itself after 30 minutes.
• solution 2) update your web browser,make sure you are using the latest version available.
• solution 3) update Adobe flash player, if you're watching videos on your computer,you will need the latest version of Adobe flash player for videos to work correctly.
• solution 4) Ensure you have access to on your network, of you are using a computer at school, or library or another public computer lab.your access to may be Block or limited.