Simple example of sockets use