client program related to sockets