Look at the sample code provided in reply #16 here
Make sure the IP addresses matches your Nano and Raspberry Pie. Then on your Raspberry Pie (or any Linux PC with a terminal), run the following command to listen for the messages
root@srv:~# nc -k -l -N -v -u 7000