needed a const_iterator, and a port number