Dispatch server and client.