[MUD-Dev] Re: DevMUD: Inheritable modules

Adam J. Thornton adam at phoenix.Princeton.EDU
Sat Oct 31 09:25:37 CET 1998


On Sat, Oct 31, 1998 at 07:46:27AM -0500, James Wilson wrote:
> core vs non-core again. Clearly mud hackers will need to be able to run test
> muds on non-networked machines. The question is, how do we support them?
> If networking is just another module, they can drop out the tcp module and
> replace it with the "read from stdin" dummy net-module (or something).
> Unsupported functions like gethostbyname would then have to fail... 

Why would you want to replace it rather than telnetting to it from the
local host?  Inet sockets work fine on the local machine too as long as the
loopback interface is up.  Rather than dummying out the networking code,
why not just feed it data from a different process on the same machine?
Anything that can run this can do some degree of multitasking, right?

Clearly the system needs to be prepared for things like name resolution to
fail, but that's a separate issue.

Adam
--
adam at princeton.edu 
"There's a border to somewhere waiting, and a tank full of time." - J. Steinman




More information about the mud-dev-archive mailing list