Question

In: Computer Science

1. Consider running real-time traffic, like VoIP, over a TCP or UDP socket. Why might you...

1. Consider running real-time traffic, like VoIP, over a TCP or UDP socket. Why might you prefer to run such an application using a UDP transport layer?

2. Consider running real-time traffic, like VoIP, over a TCP or UDP socket. Suppose you chose to use TCP for your application; what would you need to do to ensure that the robust transport algorithm does not harm real-time performance?

Solutions

Expert Solution

VoIP is a technology that allows us to make voice calls using internet in place of regular analog telephone lines. It converts the sender's voice into a digital signal that travels over the internet. Before reaching the receiver's phone which acts as the destination, the digital signal gets converted to a telephone signal.

1 )TCP is a reliable connection set up which sends each packet of data or voice from source and waits for its acknowledgement from the destination point. If no acknowledgement is received, or any error suspected, it resends the packet again. This process causes delay t transmission process. Whereas UDP is a process where packets are send without waiting for acknowledgements and cannot detect error hence no delays in retransmission of packets occurs. UDP is faster and is concerned in keeping the flow of data packets.

2) If TCP is used for the application, a LAN environment can be used to overcome the problem of delay, which will not harm the real- time performance. TCP does a registration o connect with the receiver before sending the packets and keeps the connection until all the packets are send. Eg. Junction network is used to build a connection between the two parties.


Related Solutions

What is the difference between TCP and UDP? Why would you use one over the other?...
What is the difference between TCP and UDP? Why would you use one over the other? Why have other nations enjoyed faster broadband speeds, greater availability, and lower prices? What advantages could broadband offer to underserved areas of the world? Is Internet access important for economic development? Why or why not?
Consider real time process for the following 3 process with the period and running time below:...
Consider real time process for the following 3 process with the period and running time below: Process Period Running time 1 80 40 2 60 25 3 39 15 Show that Rate Monotonic Scheduling will fail to schedule the 3 processes to satisfy their requirements. b. Suppose you can change the period that process 1 will take to run. What is the minimum value such that Rate Monotonic Scheduling will work? Explain your answer
. If population density is rising over time, then why might it be possible to have...
. If population density is rising over time, then why might it be possible to have decreasing geographic mobility but increasing occupational mobility?
You are running with a business since last many years. Over a period of time you...
You are running with a business since last many years. Over a period of time you have very good corporate image in market. But unfortunately since last two years your firm is passing through crisis. Your business is suffering from heavy losses. You are planning to wind up your business. Meanwhile one big corporate house has announced a big corporate deal through auction. You have also decided to take part in that deal as it will be a last option...
Consider your current position, or consider a job that you might like to have in the...
Consider your current position, or consider a job that you might like to have in the future. Describe how budgeting might affect you in that role.
why might you be interested in per capita real GDP rather than real GDP? and why...
why might you be interested in per capita real GDP rather than real GDP? and why might you be interested in real GDP rather than per capita real gdp?
1.       Why might firms whose sales levels change drastically over time choose to use debt only sparingly...
1.       Why might firms whose sales levels change drastically over time choose to use debt only sparingly in their capital structures? 2.       Explain the trade-off between retaining internally generated funds and paying cash dividends.
For this discussion, imagine you are running your own company. Consider how and why you would...
For this discussion, imagine you are running your own company. Consider how and why you would communicate your Corporate Social Responsibility (CSR) strategy with employees and with external stakeholders.
Discuss why the stocks of small firms might outperform large firms over long periods of time?...
Discuss why the stocks of small firms might outperform large firms over long periods of time? Will be true over short periods of time, too?
1. Explain why you can maintain contraction of the hamstring muscles over time. 2. Explain why...
1. Explain why you can maintain contraction of the hamstring muscles over time. 2. Explain why you can sustain the same contraction with a 5-lb weight attached to the ankle. 3. Explain why the hamstring muscles fatigue faster with the 5-lb ankle weight. 4. State the order of recruitment of muscle fiber types.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT