client registers at server, servers sends respond to client