'Start tracking servers for the given port and listen socket.
:param int port: The port to start tracking
:param socket sock: The bound listen socket for the port.'

def track_port(self, port, sock):

    self.sock_data_by_port[port] = {'sock': sock, 'pids': ([None] * self.servers_per_port)}
