Continuing my adventures with Visual C++ 2008, I’d like to share some observations about new WinSock2 features. The Visual C++ 2008 uses new incarnation of Microsoft Platform SDK called Windows SDK (New Windows SDK Available to Download). This SDK is named as for Windows Vista what’s quite misinforming because it also supports development for Windows XP, Windows Server 2003 SP1, and Windows Server 2003 R2.
One of new feature in Winsock API is WSAPoll function. As the MSDN says, this function is is defined on Windows Vista and later. However, if the Windows SDK is used on Windows XP this function is also available when building software but it’s not usable in run-time.