Welcome aboard Visitor...

Daily Screenshot

Server Costs Target


84% of target met.

Latest Topics

- so i talked with Massi »
- See Commands »
- Now the fun begins »
- Qand answers have returned »
- Call to Arms »
- All Species 8572 Report in »
- hi there »
- Anyone still playing from a decade ago or longer? »
- Game still active. NICE! »
- help me »

Development Blog

- Roadmap »
- Hello strangers, it’s been a while... »
- State of DarkSpace Development »
- Potential planetary interdictor changes! »
- The Silent Cartographer »

Combat Kills

Combat kills in last 24 hours:
Kills chart
UGTO (1) ICC (0) K'Luth (0)

Upcoming Events

- Weekly DarkSpace
11/23/24 +2.0 Days

Search

Anniversaries

No anniversaries today.

Social Media

Why not join us on Discord for a chat, or follow us on Twitter or Facebook for more information and fan updates?

Network

DarkSpace
DarkSpace - Beta
Palestar

[FAQ
Forum Index » » Developer Announcements » » Disappearing servers / Disconnections...
 Author Disappearing servers / Disconnections...
Faustus
Marshal
Palestar


Joined: May 29, 2001
Posts: 2748
From: Austin, Texas
Posted: 2002-01-21 20:37   
I've changed the implementation of the network communications code to hopefully fix problems with servers disappearing from the list and users getting disconnected from the servers.

The problem is centered around the server code, which attempts to handle n number of clients with a single thread. The disconnects can happen when 1 client (with a very slow connection) blocks the thread, effectively disconnecting the other clients on the same thread.

The solution is for the server to know when it has all the data is needs from a client before processing the message from the client. This is basically what I've implemented into the network code to correct this problem.

I'm about 95% certain this is the source of most disconnects, which include the servers disappearing from the server list. This bug would manifest it'self when a user either disconnects from the server halfway through transmission or has a VERY slow connection.

-Richard

[ This Message was edited by: Faustus on 2002-01-21 20:45 ]
_________________


  Goto the website of Faustus
Page created in 0.004623 seconds.


Copyright © 2000 - 2024 Palestar Inc. All rights reserved worldwide.
Terms of use - DarkSpace is a Registered Trademark of PALESTAR