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 931461
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T20:30:18+00:00 2026-05-15T20:30:18+00:00

I have both TCP client and TCP server run on RHEL 5.3 on different

  • 0

I have both TCP client and TCP server run on RHEL 5.3 on different machines.

  • I’m killing server and FIN is sent to the client. ACK is sent back by client’s OS back immediately.

  • Client discovers the close (by read() returning zero) and perfroms close only after 90 sec.
    At this stage I verified netstat on both sides and it’s as expected (FIN_WAIT_2 on server and CLOSE_WAIT on client).

  • Due client close() after 90 sec, client’s OS sends FIN to server, but in response we receive RST from server and not ACK as expected.

I also saw several times that due to “delayed” close(), client’s OS sent RST instead of FIN.

Please note, that in both cases there’s no pending reading packets on both sides and SO_LINGER option is not activated.

Any ideas?

  • 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-05-15T20:30:19+00:00Added an answer on May 15, 2026 at 8:30 pm

    The RST indicates that some “data” was lost. In this case, the “data” is the information that the client side closed the socket cleanly – the FIN from the client was not reported to the server side application (because it had been killed).

    In other words, the RST tells the client that the server never saw end-of-stream from the client.

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

Sidebar

Related Questions

I have created a server/client application. Both of them are written in C#. It
I have two utilities written in C++, TCP/IP server and client that I have
I have some simple questions, I have a client-server application and data sent on
I have to create an application server client in android(both the client an server
I have a client-server application, which intercommunicate via WCF. They also both use Castle
I have an application that has a TCP client and a server. I set
I have a basic client server in erlang which uses tcp. How does one
I have two service. 1- client 2- server. Both the services communicate through socket.
I have both SQL Server 2005 and Visual Studio 2008 installed and think it
My client application uses a boost::asio::ip::tcp::socket to connect to a remote server. If the

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.