modified tcp_connection_check to split host addr and host port of directory list