gethostbyaddr malfunction

From: Michael J. Fara (mulder@CLOUD9.NET)
Date: 01/23/98


I am running a MUD based on Circle bpl12, for some reason whenever no one
is connected and the MUD "goes to sleep" it has problems waking up when
someone tries to reconnect. I have come to the conclusion this has
something to do with the gethostbyaddr calls that the server uses when new
players connect.

Here are some logs:

Fri Jan 23 07:42:08 :: Losing player: <null>.
Fri Jan 23 07:42:08 :: No connections.  Going to sleep.
Fri Jan 23 09:03:03 :: New connection.  Waking up.
gethostbyaddr: Error 0
Fri Jan 23 09:03:19 :: Losing player: <null>.
Fri Jan 23 09:03:19 :: No connections.  Going to sleep.
Fri Jan 23 09:03:29 :: New connection.  Waking up.
gethostbyaddr: Error 0
Jan 23 09:04:06 :: Losing player: <null>.
Jan 23 09:04:06 :: No connections.  Going to sleep.
Jan 23 10:08:32 :: New connection.  Waking up.
Jan 23 10:08:40 :: EOF on socket read (connection broken by peer)
Jan 23 10:08:40 :: Losing player: <null>.
Jan 23 10:08:40 :: No connections.  Going to sleep.
Jan 23 10:21:50 :: New connection.  Waking up.
Jan 23 10:22:14 :: Losing player: <null>.

Very weird..all the <null> are from players trying to connect, but all they
get is Connected to server then it hangs, so they disconnect. Does anyone
have any suggestions or clues? I would be very grateful if anyone could
help me out with this.


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



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