[MUD-Dev] How to support 1000+ simultaneous connections, and some philosophy.
pvirkkul at iki.fi
Wed Mar 10 08:06:55 New Zealand Daylight Time 1999
>>>>> "Ben" == Ben Greear <greear at cyberhighway.net> writes:
Ben> However, I wonder what to do when the accepting server on the
Ben> well known port is full? One thing would be for it to quit
Ben> listening and spawn a new process on that well known port?
The simplest way to handle this to raise the hard limit of
open file descriptors if your operating system supports it,
but that was not the answer you were expecting.
I would probably go for multiple IP-addresses and multiple
accepting servers. For example, hostname mud.dom.ain might
have addresses 22.214.171.124-126.96.36.199 and ten processes,
each of them listening only single address, not INADDR_ANY. I
don't know how well this scheme would work though.
MUD-Dev maillist - MUD-Dev at kanga.nu
More information about the MUD-Dev