small test programm for sockets