C++ Networking API Options

darkrunic

Newcomer
Joined
Oct 16, 2003
Messages
5
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
 
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++.
 
Hey, thanks a ton! I'm really new to using Mananged Extentions and I'm not really familiar with what all it can do. Thanks!

Brian
 
Back
Top