Using LPC Daemons ================= If :do_login_command() returns a string, it is taken to be the name of an LPC object to which the (unlogged-in) connection should be attached. Let obj be the LPC object designated by the return value. obj->open() is called immediately upon attaching the connection to the object. For each line of input received from the connection, obj->receive_message() will be called. To send output to the connection, call this_user()->notify() per output line. When the connection is broken, obj->close() will be called. This mechanism is used to implement a hostname lookup daemon. A separate process must connect to the server and authenticate itself with the database such that "/lib/dns" is returned from :do_login_command(). LPMOO will then be able to resolve hostnames and IP addresses (see ./dns-resolver for details).