What is the difference between a shock and a strut?

A strut is a solid restraining device — see sway strut.

A shock is a sudden movement in the piping system.
Top