Click o to open the Options window, then select UI menu, next set Always Show Sockets value.
By turning on this option, your inventory will always show sockets.