Network and IP management - Losing connections shortly after they're established.
... / Losing connections shortl...
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Frage

Losing connections shortly after they're established.

Von
RadoslawG1
Erstellungsdatum 2025-02-06 14:43:42 in Network and IP management

I'm running a small game server. Some connections get lost shortly after being established. At first I thought this could be a problem with the server but I've carried out some tests and it seems some connections just "stop" sending/receiving so the problem happens somewhere between the client and the server.

I'm not 100% sure on this but it also seems that this only happens when there is a server restart. I'm setting SO_REUSEADDR with the listening socket so perhaps I'm missing some detail here?

This game server is Polish and most players are from Poland. This problem seems to affect players from Poland but not some outside players, including me, which makes me think it could be something region related but I'm not 100% sure either.

I've attached the output of tcpdump from one of these events and the client gets lost at about 13:39:51.

  • tcpdump.txt 10.94K
Themen: Engineering

1 Antwort ( Latest reply on 2025-04-17 14:25:21 Von
^FabL
)

Hello,

If the problem persists, please add details and tests carried out since your post was created.

If not, don't hesitate to share the solution you've found so that as many people as possible can benefit from it.

FabL