[Freeciv-Dev] Re: autoconnect with unknown user (PR#927)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Fri, Aug 31, 2001 at 03:38:11PM -0700, Trent Piepho wrote:
> On Fri, 31 Aug 2001, Raimar Falke wrote:
> > On Fri, Aug 31, 2001 at 12:43:58PM -0700, Trent Piepho wrote:
> > > On Fri, 31 Aug 2001, Raimar Falke wrote:
> > > > On Fri, Aug 31, 2001 at 03:29:48AM -0700, Christian Knoke wrote:
> > > > > CVS 31 AUG 2001 Linux i386 Gtk+
> > > > >
> > > > > If you use autoconnect to connect to a running game
> > > > > and set (with -n option) a username not included
> > > > > in the game, it tries to connect 100 times, but
> > > > > without the 0.5 seconds delay inbetween, i.e.
> > > > > with zero delay:
> > >
> > > Is adding a 0.5 second delay an improvement here? It seems like you would
> > > want the client to tell you the username isn't accepted after the first
> > > try.
> >
> > Either you parse the server response or keep is simple. The server
> > could also be restarted and the error will go away.
>
> So spending 50 seconds re-trying to connect to a server with the wrong
> name doesn't seem wrong?
With the attached fix will the auto-connecting will only continue if
the connection could not be established. If the client is rejected the
auto-connecting is aborted.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"Life is too short for reboots."
autoconnect_fix2.diff
Description: Text document
|
|