Re: ERROR, when someone logs on...

From: George Greer (greerga@circlemud.org)
Date: 09/20/99


On Mon, 20 Sep 1999, Daniel A. Koepke wrote:

>Today, Emil Nilimaa spake to the list:
>
>> SYSERR: gethostbyaddr: Connection timed out
>> Sep 20 19:19:11 :: WARNING: EOF on socket read (connection broken by peer)
>> Sep 20 19:19:11 :: Losing descriptor without char.
>> Sep 20 19:19:11 :: SYSERR: Missed 80 seconds worth of pulses.
>
>One might assume that you have a slow nameserver, then, or its just this
>guy's site that you're having problems with.  gethostbyaddr() is a
>blocking function, which is a non-factor for people with fast nameservers
>(thankfully, the majority).  While on as Implementor type "slowns" and
>then see if the guy can login correctly and write down his IP address when
>he does.  After that, add the following function to comm.c somewhere above
>new_descriptor():

For other good solutions, look under:

(http|ftp)://ftp.circlemud.org/pub/CircleMUD/contrib/code/

Look at files like 'dns*'

--
George Greer            | The CircleMUD FAQ
greerga@circlemud.org   | http://developer.circlemud.org/docs/FAQ/


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST