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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T23:22:31+00:00 2026-05-20T23:22:31+00:00

My first question here, so go easy on me. This is my situation: I

  • 0

My first question here, so go easy on me.

This is my situation:

I am creating a networked game in Python using the Twisted framework. The game connects to a master server via TCP on one port (the connection is kept alive for authentication), and then you can join a network server on another port. Currently both the network and the master server programs are running on the same remote machine.

So far almost everything works great, at least when running the game through the Python interpreter. Connecting to both servers always works fine in that case. The problem only starts after creating a stand-alone executable for the client with py2exe.

On my development machine, running the executable will allow me to start the game, connect to the master server and authenticate with it. Wireshark tells me that the connection is kept alive and regular polls are being ACK’ed. So far so good. But when I try to connect to a network game server (second TCP connection on an adjacent port), the result is inconsistent. About one in a hundred times it will work. The rest of the time is about 50/50 between doing nothing at all (Twisted doesn’t fire any callbacks), or returning a “User timeout caused connection failure.” error within half a second.

The funny thing is, Wireshark doesn’t even show any outgoing TCP packets for these failed connection “attempts”, no matter whether they return an error or do nothing at all.

Then it gets weirder, because when I run the exact same game client executable on my other test machine, everything works fine. No connections issues there whatsoever, it just works every time. Both machines are running original Windows 7, the dev machine is on Professional, the other Home Edition.

I should also point out that running the game server locally, even on the same machine as the client (connecting to “localhost”) has no effect on this problem – the symptoms remain the same.

So what could possibly be going on here?

  • 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-20T23:22:32+00:00Added an answer on May 20, 2026 at 11:22 pm

    This sounds like a problem with your Windows network stack. Have you installed something that intentionally breaks networking, like AVG antivirus? If you have, your network may be broken :).

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

Sidebar

Related Questions

First question here as a user, so please take it easy on this noob!
this is my first question here so I hope I can articulate it well
this is my first question here :) I know that I should not check
This is my first question here so try to make my best so you
Greetings to all! This is my first question here on stackoverflow. I have a
Ok, I need help. This is my first question here. Background: I am working
this is my first question to stackoverflow so here it goes... I use cruise
OK, go easy on me as it's my first question here. ;) I am
Here's the question first: Is this possible? I'm taking my inspiration from Joe Wrobel's
my first question here. And I'm sure it's an easy one, but I can't

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.