Add RECEIVE-FROM for raw sockets

Thanks to Christopher Laux
Modify the ping example to wait for the reply