Socket Transform

Hi, I was wondering how to change the sockets transform when i equip different weapons so i can use one socket for all my equipped weapons. cheers i would appreciate the help