Client server card game using sockets