added the hosts_ports structure, clarified what numfds means in fd_array