"Socking it to someone" is a phrase used to describe someone giving someone else a hard time or punishing them in some way. However, there are many other synonyms that can also be used to convey a similar meaning. Some of these synonyms include "giving someone a piece of your mind," "putting someone in their place," "giving someone what for," "handing someone their comeuppance," "showing someone who's boss," "giving someone a verbal lashing," and "giving someone a taste of their own medicine." Each of these phrases can be used to describe a situation where someone is taken to task for their actions or words, and where a strong response is delivered to them.