Experimenting with sockets - client application