Weld-on sockets (lugs) are designed to be welded to a steel gate. The gate with the attached socket is then slipped over a gudgeon (pin) that is attached to the fence post or other stable surface.
Weld-on sockets are available as ungalvanized, zinc plated and hot dip galvanized.