Changed sendPacket behavior