a quick example of sockets