What is the proper etiquette for men and women shaking hands?

Apparently traditionally men should wait for the women to extend her hand but I think this may lead to confusion if a man is sharing everyone else’s hand and a woman doesn’t know this rule.
What is the proper etiquette for men and women shaking hands?
Post Opinion