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

  • Home
  • SEARCH
  • 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 7497781
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T19:13:32+00:00 2026-05-29T19:13:32+00:00

We have application that involves C++ socket server, Flash client that communicates with C++

  • 0

We have application that involves C++ socket server, Flash client that communicates with C++ server and Python socket server that gives crossdomain.xml to Flash client.
C++ server calls REST operations and return the results the the Flash client. All of this is hosted on Linux 64bit server – Debian.

For some of our users we have a lots of “Connection reset by peer” when Game server tries to read from socket (on recv()).
Flash policy server also have similar amount from “Connection reset by peer”.

I’m looking for ideas, resources what is the reason about this problem. For sure this is not from server overload – what of users – sometimes is with 3 users, some times is with 300 users.

We tested on our private servers and the situation is the same.

What we’ve suspected to fix the problem:

  • Flash client problems to communicate with C++ server and over all with sockets.
  • Network problems
  • Some combination tcp options

What we’ve done:

  • Catch security and IO erros from the client. There we just log them 🙁

What we’ve think to do:

  • Change priority of the C++ server to -5 or -10 – I hope this can boost IO operations.

I know the reason for “Connection reset by pear” – I check lots of them in stackOverFlow and google for that – but I can’t find way to overcome this issue.

  • 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-29T19:13:33+00:00Added an answer on May 29, 2026 at 7:13 pm

    “Connection reset by peer” has nothing to do with server overload, it’s a message telling you that the remote client (or some network equipment between you and the client) actively closed down the network connection.

    It may be a sign of network trouble (home gateways thinking the connection timed out or your own firewall deciding connections are idle and timing out) or, maybe more likely, the client crashing or the user just navigating away from the page so the Flash client closes.

    I don’t think you’ll easily be able to diagnose the problem without input from people actually having trouble.

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

Sidebar

Related Questions

I currently have a client-server application that involves a Silverlight client and a .NET
I am working on a C# application that involves using XML schema file as
Given an application that involves, say, Companies, I might have a Company class. I
We have a multi services application. We have moved a method that involves a
So I have an Application that involves sending emails through an API. What I
In Python, I have an application that writes a list to a CSV file,
I have a project coming up that involves a desktop application (tournament scoring for
I have a Windows Form application that involves two Forms. The child form is
I have an application that uses a SQL Server database with several instances of
I have an application that involves logging the status of up to 8000 devices

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.