Changed sendPacket() behavior