wpan-ping: use recvfrom and sendto isntead of connecting the socket
wpan-ping: use recvfrom and sendto isntead of connecting the socket

While connecting makes sense when the dst address is known we make our
life easier if we pick the origin address from recvfrom on the server
side. This will eliminate the cumbersome dst parameter on the server
side. A simple ./wpan-ping -d will now respond to different clients.

Signed-off-by: Stefan Schmidt <eb0877843acc39f8ef6f7269937dee931c372d23@osg.samsung.com>
Signed-off-by: Alexander Aring <d03dbcdedb9639e397df9b8578e8fc8274f4e6c4@gmail.com>

cfriedt/wpan-tools,cfriedt/wpan-tools