For an event with this dress code, men typically wear ... cocktail attire. Like a cocktail dress code, it represents the middle ground between formal wear and casual wear.
Think of it as that sweet spot between casual and black-tie—formal ... Disclaimer: just because the dress code says "cocktail," that doesn't mean you have to wear an actual cocktail dress.