Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2002:
[Freeciv-Dev] Re: (PR#2278) Ping version 13
Home

[Freeciv-Dev] Re: (PR#2278) Ping version 13

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Thomas Strub via RT <rt@xxxxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#2278) Ping version 13
From: Raimar Falke <rf13@xxxxxxxxxxxxxxxxx>
Date: Sun, 10 Nov 2002 12:04:58 +0100

On Sat, Nov 09, 2002 at 01:11:23PM -0800, Thomas Strub via RT wrote:
> On Sat, Nov 09, 2002 at 04:43:17AM -0800, Raimar Falke via RT wrote:
> > On Sat, Nov 09, 2002 at 02:44:55AM -0800, Raimar Falke via RT wrote:
> > > 
> > > 
> > > This is an updated version of the ping patch from Thomas. Changes:
> > >  - cleanup of the packets
> > >  - remove the timing.[ch] changes
> > >  - adding the pingtime server option
> > >  - a lot of other cleanups
> > 
> > Version 12:
> >  - proper initialization of ping_time
> >  - check for ping_time==-1
> >  - send the ping_info packet only every game.ping_time seconds
> >  - move ping_text construction into plrdlg_common
> 
> It needs much time until the first ping information is sent to the
> client.

The client is pinged after the connection is accepted. But the sending
of all the ping information may take up to game.pingtime seconds.

> after a:
> 1: tried to stop already stopped timer
> The pings don't update.
> Happened after playing with 3 connections (+ 27) dropping one player and
> joining as the AI ...
> 
> After changing the pingtime to another value -> -2147483.-64

It now handles the case correct where multiple pings are outstanding.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "USENET is *not* the non-clickable part of WWW!"

Attachment: ping13.diff
Description: Text document


[Prev in Thread] Current Thread [Next in Thread]