(class lshd_port): Inherit io_listen_port.
(kill_port): Deleted function, it was identical with kill_io_fd_resource. (lshd_port_accept): Converted from an oop callback to an accept method for the io_listen_port class. Use SERVER_VERSION_LINE. (make_lshd_port): Changed return type to struct resource *. Take a sockaddr as argument, rather than an fd. Create and initialize the socket. Use io_listen. (open_ports): Creation of socket moved to make_lshd_port. (main): Simplified logic slightly for the daemon mode. Rev: src/lshd.c:1.180