How do you connect to a FIX server via TCP/Winsock?

Imported from previous forum

Question from r roy on March 2, 2017 (reposted from FIXML forum, http://www.fixtradingcommunity.org//pg/discussions/topicpost/164944):

How to send & receive FIX mesaages via TCP/Winsock?

Is it possible to connect to a FIX server via TCP & send/receive messages? (via send() & recv() functions perhaps?)

About using Quickfix, I haven’t yet completed C# & XML, so I need a fairly simple demonstration via C++. If yes, can you show me an example of how to achieve such?