• 0

Winsock API or CSocket should I choose?


Question

3 answers to this question

Recommended Posts

  • 0
  weenur said:
Choose whichever is easiest for you to use. The gain, if any, would be marginal if you went with raw Win32. MFC wraps the Winsock API with the CAsyncSocket, from which CSocket is derived.

585627809[/snapback]

Thanks for your suggestion!

By the way,I want to know which method most network-programmer usually use ?

  • 0
  AntonlioX said:
Thanks for your suggestion!

By the way,I want to know which method most network-programmer usually use ?

585628001[/snapback]

I think it depends on the context. If someone is writing for a realtime OS, or embedded systems, they'll want to use as little resources as possible, and that would be for a low-level API, like Win32. I'd hazard that most application writers use higher-level classes like MFC.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.