traceroute.cpp first part (sendto)