simulator for port-numbered networks