background preloader

Reseaux

Facebook Twitter

Winsock Programmer’s FAQ: Information for New Winsockers. 2.1 - Which sockets API should I target?

Winsock Programmer’s FAQ: Information for New Winsockers

From the programmer’s standpoint, there are two major versions of Winsock, 2.0 and 1.1. These are the version numbers you pass to WSAStartup(), and your choice affects whether you #include <winsock2.h> and link against ws2_32.dll or you #include <winsock.h> and link against wsock32.dll. You could choose to declare your program as using some other minor version, but unless you know for a fact that you need to use something different, I recommend using only 1.1 or 2.0, for best compatibility.

The Winsock design is a series of additions to older technologies, not something wholly new. Winsock 2.0 is mostly a strict superset of Winsock 1.1, and Winsock 1.1 is mostly a strict superset of BSD Sockets. The older APIs are still quite useful. The Winsock 1.1 specific DLLs are still provided on the newest versions of Windows. Likewise, BSD Sockets, though a very old API now, still contains a large amount of functionality. Yes. Absolutely! Nginx news.

ZigBee

Maxim Gladines » Introducing: NetGroup & NetSpecifier, P2P in Fl. S Guide to Network Programming. Using Internet Sockets Brian "Beej Jorgensen" Hall beej@beej.us Version 3.0.15 July 3, 2012 Copyright © 2012 Brian "Beej Jorgensen" Hall Contents.

s Guide to Network Programming