single server and client