|
nbsp; /* The Windows Sockets DLL is
acceptable. Proceed. */
下面的代码段示例了只支持1.1版的Windows Sockets DLL是如何进行WSAStartup()协商的:
/* Make sure that the version requested is
>= 1.1. */
/* The low byte is the major version and the
high */
/* byte is the minor version. */
if ( LOBYTE( wVersionRequested ) < 1 ||
&nb |