Use return value of sendpacket