Example of connecting and using UDP