client server sample