How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask Claws224 Your Own Question

Claws224
Claws224, IEEE Network Engineer
Category: Networking
Satisfied Customers: 1256
Experience:  IEEE, Microsoft
5195814
Type Your Networking Question Here...
Claws224 is online now
A new question is answered every 9 seconds

Networking TCP/IP

Customer Question

Assume two hosts, A and B, communicate via a TCP connection. Reliable data transfer is guaranteed by TCP's retransmit mechanism: if host A sends a segment and the segment is lost or corrupted, then it will not be acknowledged by host B. After A's retransmission timer times out, and still no ACK has been received, A will retransmit the segment.

A possible problem with the above scenario is this. Assume that a fast stream of segments
is being sent. If a segment is lost, then the receiving host B can notice this quickly from the
sequence nunbers. But the segment will be retransmitted only later, when A's retransmission
timer times out, since before it A does not know about the need for retransmission. By that
time, however, the segment may become useless in a fast real-time application.

The above problem clearly stems from the fact that A does not know that retransmission
is needed, before the timer times out. Even though B knows it earlier from the sequence
numbers, it does not have a standard way in the original TCP to notify A about it. If B
could somehow notify A to initiate an early retransmission, then the unnecessary delay could
be avoided.

Your task is to propose a simple solution for this problem. Specifically, propose a simple
modification of the TCP protocol, which makes it possible that the receiver can notify
the sender that a segment needs to be retransmitted. The goal is that the sender can
learn about the needed retransmission, without having to wait for a timeout. Let us call
this protocol "TCP with Fast Retransmission" and let us abbreviate it as TCP/FT. Your proposed solution for TCP/FT should satisfy the following requirements:

Simplicity. It should be a simple modification of TCP. Do not attempt to totally redesign TCP.

Failsafe design. To avoid potential interference with existing implementations, you are not allowed to put any new type of information in the TCP header, including the Options field. Thus, for example, it is not acceptable to say: "let's use one of the unused header bits to include a special flag that instructs the sender for an early retransmit".

Backward compatibility. Your proposed protocol should not cause any problem if the
communication takes place between a host that attempts to use TCP/FT, while the
other runs standard TCP and does not know anything about TCP/FT.

Present your proposed modification of TCP first by explaining its operation verbally.
Then also present it in some more formal way, prefereably by a flowchart or pseudocode. (If
you use pseudocode, then add enough comments to make it human readable!)
Submitted: 11 years ago.
Category: Networking
Expert:  maymay replied 11 years ago.
Not to be rude, but if you write a client/server implementation
of this that supercedes something like RTSP on the TCP level,
then I'll pay *you* the five dollars I would have gotten.

JustAnswer in the News:

 
 
 
Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.
 
 
 

What Customers are Saying:

 
 
 
  • I am very happy with my very fast response. Eric is very knowledgeable in the subject area. Thank you! RP Austin, TX
< Previous | Next >
  • I am very happy with my very fast response. Eric is very knowledgeable in the subject area. Thank you! RP Austin, TX
  • My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer New York
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
  • This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex Los Angeles, CA
  • Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP Hesperia, CA
  • I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin Kernersville, NC
  • Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther Woodstock, NY
 
 
 

Meet The Experts:

 
 
 
  • Claws224

    Claws224

    IEEE Network Engineer

    Satisfied Customers:

    1256
    IEEE, Microsoft
< Last | Next >
  • http://ww2.justanswer.com/uploads/Claws224/2009-07-07_063935_Dork_Portrait.JPG Claws224's Avatar

    Claws224

    IEEE Network Engineer

    Satisfied Customers:

    1256
    IEEE, Microsoft
  • http://ww2.justanswer.com/uploads/KN/knelly74/2011-4-14_215651_kevin.64x64.jpg Kevin's Avatar

    Kevin

    LAN/WAN Specialist

    Satisfied Customers:

    1165
    Certified MCSA and MCP Network Administrator with over 20 years of PC experience.
  • http://ww2.justanswer.com/uploads/tealnet/2009-09-26_000218_headshot_64.jpg Eric K.'s Avatar

    Eric K.

    Network Administrator

    Satisfied Customers:

    510
    13 years of desktop, server and network support experience
  • http://ww2.justanswer.com/uploads/CL/clagesolutions/2012-6-27_145545_20120608Geoff.64x64.jpg Mr. Clark's Avatar

    Mr. Clark

    Network Engineer

    Satisfied Customers:

    510
    Computer Business Owner / Former DoD Network Specialist
  • http://ww2.justanswer.com/uploads/DU/dukey01/2012-6-10_20542_DUKEY01.64x64.jpg Byron's Avatar

    Byron

    PC Support Tech

    Satisfied Customers:

    480
    CCNA, A+, MCSE 11 years at a large law firm.
  • http://ww2.justanswer.com/uploads/SE/Seashore2011/2011-12-6_33418_111205223015.64x64.jpg Chris L.'s Avatar

    Chris L.

    Support Specialist

    Satisfied Customers:

    438
    Certified Networking expert with over 10 years experience.
  • http://ww2.justanswer.com/uploads/DR/dresteve2000/2012-10-1_45048_pic.64x64.jpg A. Stevens's Avatar

    A. Stevens

    Network Administrator

    Satisfied Customers:

    427
    10+ years of Desktop, Laptop, and Server troubleshooting and support.