They are not the same. If the infestation is major, you need to contact a specialist company quickly. If it's just a single beam that's infested, try applying multiple layers of standard woodworm treatment, and look for powdered wood after a couple of months.