Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8795309
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:22:10+00:00 2026-06-13T23:22:10+00:00

For example, in a TCP Tahoe connection, if there is a large file transfer

  • 0

For example, in a TCP Tahoe connection, if there is a large file transfer happening. Suddenly the receiving process or host is shutdown or suspended, I know that we will have a timeout, at which point the window size will be reset, etc. As I understand it we will resend the packet that was unacknowledged, and then try again, and possibly again?

I am wondering though, after a timeout such as this how many times data will get resent before it is assumed the receiver is no longer there and data will stop being sent. If the process is resumed from a suspended state will it be able to keep receiving data?

I know that data is re-transmitted after a triple duplicate ack or a timeout. However, I cannot find much to read on what happens if there is multiple re-transmissions fail, or if a receiving process is suddenly stops receiving.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T23:22:11+00:00Added an answer on June 13, 2026 at 11:22 pm

    If the receiving process exits or is killed, the socket at its end will be shut down. When the sender continues sending packets, they should prompt RST packets, which will cause an error (ECONNRESET) immediately.

    If the receiving host is shut down cleanly, it should kill all processes, which will cause the above to occur.

    If the receiving host and process are alive, but the process is suspended (e.g. Ctl-z), no problem will be detected at the TCP level. The window will eventually fill up, but the receiving system will continue to acknowledge the zero-window probes. To detect this case, you need an application-layer keepalive mechanism.

    If the receiving host crashes, loses power, or its network connection fails, that is when retransmission timeouts become relevant. The number and frequency of retransmissions is implementation dependent, and may also be controlled by system configuration parameters. I don’t know offhand what are typical parameters.

    If the receiving system reboots before the timeout occurs, it will resond to the next retransmission with a RST packet, which will cause the ECONNRESET error.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here's an example of opening and reading data from a TCP socket. Is there
Upon receiving a TCP RST packet, will the host drop all the remaining data
What is happening to a TCP connection after an end of an HTTP session?
Take for example: fsockopen(tcp:\\example.com, 80, $errno, $errstr, 5) My friend has just informed me
My prof. gave me this TCP/UDP example and he said it worked for him.
The Simple TCP/IP client example will hang if no data is being received. To
Using the TCP/IP protocol, given a connection between a client and a server, are
How can I terminate a TCP connection which is not handled by my program?
Platform: iOS with TCP/IP comms. The following is an example of my incoming data
I have this file containing following text. 200.200.200.253 80/tcp:filtered:http 443/tcp:filtered:https 200.200.200.254 80/tcp:filtered:http 443/tcp:filtered:https web.example.com

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.