The practice in Athens at the time was for Sophists and Debaters to teach rhetoric to the youth of the wealthy Athenian aristocracy for money. Being able to talk and debate was considered very important to be an Athenian statesman. However, despite gaining several of Athen’s youth as followers, Socrates is supposed to have not accepted money at all for his “questioning.”
He did have a family, a wife and children at home, but his home life didn’t come up much in Plato’s Dialogues. She was young, it doesn’t sound like she would have had the money. He fought in the Peloponnesian War for Athens, and apparently was recognized for bravery, although this didn’t come up in his trial defense so he probably wasn’t getting any sort of support there.
Socrates was old in the dialogues when he was doing his things. He must have been retired I guess.