HandlePacket written