Impact sockets are constructed with chrome molybdenum steel, a ductile material that adds additional elasticity to the socket and tends to bend or stretch rather than shatter.
The pinned drives on the torque or impact wrench allow the socket to remain securely attached to the impact wrench anvil, as teh pin locates in the retaining hole