Welcome aboard Visitor...

Daily Screenshot

Server Costs Target


9% of target met.

Latest Topics

- Anyone still playing from a decade ago or longer? »
- Game still active. NICE! »
- Password resett »
- Darkspace Idea/Opinion Submission Thread »
- Rank Bug maybe? »
- Next patch .... »
- Nobody will remember me...but. »
- 22 years...asking for help from one community to another »
- DS on Ubuntu? »
- Medal Breakpoints »

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:
No kills today... yet.

Upcoming Events

Search

Anniversaries

21th - Sir Oblivion {C?}

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.004913 seconds.


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