Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi there,

 

I'm looking for some opinions about the choices for Networking APIs available to a C++ .Net programmer. Mainly, I'm looking for a comparison of speed and ease of use, though any other pertinant information would also be greatly appreciated. I remember that way back in the day, DirectPlay was a pile, but it's been a long time since I looked into it and DirectX has come a long way since then. I've also heard people say that SDL is the way to go. Are there any other contenders? Anyway, thanks much!

 

Brian

  • *Gurus*
Posted

Unless you produce a kernel-mode driver you're not going to see much, if any, speed differences between various options. The network will always be the bottleneck, as various case studies have shown with SQL Server and IIS 6.

 

You can use System.Net.Sockets or the Win32 Winsock API and see a minimal speed difference but a huge ease-of-development difference when it comes to the System.Net.Sockets namespace, which is vastly easier to work with.

 

Remember: the BCL is there. Either use it or head back to unmanaged C++.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...