We can take it farther: no one is socialized female or male. We are all socialized into patriarchy. No one learns how to "be a man" or "be a woman" discretely and in a vaccum, it's with relationship to other people. Trans people make this very clear.
Iโm gonna ride the discourse high and say not all trans men are socialized as female like youโd expect. I had people telling me I had to open doors for women when I was 9 because everyone thought I was a boy.