Here is my leg socket repair experience. I have read about it on here and seen a photo or two. I thought I would share my experience with you.
Here is the loose socket. 1 "tab" weld was broken/rusted loose. It's there on the right, you can almost see a gap.
Different angle with a piece of paper between the socket and bowl to show the weld is definitely no there any longer.
Hardware I used. All stainless. 6 - 32 nuts, bolts and washers. I used pan head screws 3/4" long. 5/8" would probably work. Maybe even 1/2".
Drilled out. The bit wants to run a little, but there is a nice dimple to hold it, from the spot weld. I just tried to make sure I stayed as far from the edge as possible so I had enough "meat" left to be secure and the washer have contact all the way around. I used a #36 bit, but this size is only if you are going to tap it. If you are not going to tap it, you will need a larger one. You need a #27 if you are not going to tap it AND use 6-32 hardware.
Tapping it with 6-32 tap.
Inside with screw, washer and 1 nut. I made sure I pushed down and closed the gap when I put the screw in, then put a nut on it.
Double nut, with some loc-tite red. Do not try this at home. The loc-tite will probably give off BAD FUMES and cause cancer and all kinds of icky yucky bad stuff.
The outside view.
Again, this is my experience. Yours may be different.