Convert to sendPacket