> p thus on Sun, 17 Dec 1995 17:40:17 -0500, Pink virtually scripted... > > Pink> idname = ident_id (desc, 5); /* this attempts to get the username */ > > Pink> Just curious, will this statement bring the mud to a halt until it > Pink> has connected to the remote host and acquired the username? > Yes, this is termed a blocking function and it will bring the mud to a screeching halt til it returns a value. It's only really annoying if you have a lot of players logging on after a reboot. For this reason ours is presently set to a 3 second wait. > Actually the second argument is the timeout value. You can normally set > this value real low (about 1 second), but with network lag, it might > timeout a little often. (about the same as it would take the nameserver) > I started ours at 1 second (extreme paranoia value as I termed it). After a couple days I changed it to 3 and almost doubled the number of userids. Mielikki @ SojournMUD (menzo.sojourn.com 9999)
This archive was generated by hypermail 2b30 : 12/07/00 PST