没有太多的不同,仅仅只是XP2或win2k3sp1与之前版本的差异.

解决方案 »

  1.   

    2k3 sp1基本等于xp sp2
    众所周知,xp sp2相对xp和xp sp1是一个很大的质的飞跃
      

  2.   

    ws2_32.dll
    高手的分都是捡来的?
      

  3.   

    查询MSDNWhat's New for Windows SocketsUpdated for Windows 7 and Windows Server 2008 R2Microsoft Windows 7 and Windows Server 2008 R2 introduce new Windows Sockets programming elements.The following existing Windows Sockets functions were enhanced to support additional options:    * getaddrinfo
        * GetAddrInfoEx
        * GetAddrInfoWThe following are new Windows Sockets options:    * IP_ORIGINAL_ARRIVAL_IF
        * IP_ORIGINAL_ARRIVAL_IF for IPv6Updated for Windows Server 2008 and Windows Vista with Service Pack 1 (SP1)Microsoft Windows Server 2008 and Windows Vista with SP1 introduce new Windows Sockets programming elements.The following are new Windows Sockets Ioctls:    * SIO_IDEAL_SEND_BACKLOG_CHANGE
        * SIO_IDEAL_SEND_BACKLOG_QUERYUpdated for Windows Server 2008Microsoft Windows Server 2008 introduce new Windows Sockets programming elements.The following are new Windows Sockets options:    * SO_PORT_SCALABILITYUpdated for Windows VistaMicrosoft Windows Vista introduces new Windows Sockets programming elements. These elements extend the capability of Winsock to simplify programming and provide IPv6 compatibility. For more information about porting Winsock applications to IPv6, see IPv6 Guide for Windows Sockets Applications.Windows sockets tracing is a new feature supported on Windows Vista and Windows Server 2008. This feature can be enabled in retail binaries to trace certain socket events with minimal overhead. For more information, see Winsock Tracing.The following are new Windows Sockets functions:    * FreeAddrInfoEx
        * GetAddrInfoEx
        * InetNtop
        * InetPton
        * SetAddrInfoEx
        * WSAConnectByList
        * WSAConnectByName
        * WSADeleteSocketPeerTargetName
        * WSAEnumNameSpaceProvidersEx
        * WSAImpersonateSocketPeer
        * WSAPoll
        * WSAQuerySocketSecurity
        * WSARevertImpersonation
        * WSASendMsg
        * WSASetSocketPeerTargetName
        * WSASetSocketSecurityThe following are new Windows Sockets structures and enumerations:    * addrinfoex
        * BLOB
        * GROUP_FILTER
        * GROUP_REQ
        * GROUP_SOURCE_REQ
        * MULTICAST_MODE_TYPE
        * NAPI_DOMAIN_DESCRIPTION_BLOB
        * NAPI_PROVIDER_INSTALLATION_BLOB
        * NAPI_PROVIDER_LEVEL
        * NAPI_PROVIDER_TYPE
        * SOCKET_PEER_TARGET_NAME
        * SOCKET_SECURITY_PROTOCOL
        * SOCKET_SECURITY_QUERY_INFO
        * SOCKET_SECURITY_QUERY_TEMPLATE
        * SOCKET_SECURITY_SETTINGS
        * SOCKET_SECURITY_SETTINGS_IPSEC
        * SOCKET_USAGE_TYPE
        * WSAQUERYSET2Microsoft Windows Vista introduces new Windows Sockets SPI functions to provide the ability to categorize applications for a layered service providers. New functions are also added for namespace providers.The following are new Windows Sockets SPI functions:    * NSPv2Cleanup
        * NSPv2ClientSessionRundown
        * NSPv2LookupServiceBegin
        * NSPv2LookupServiceEnd
        * NSPv2LookupServiceNextEx
        * NSPv2SetServiceEx
        * NSPv2Startup
        * WSAAdvertiseProvider
        * WSAProviderCompleteAsyncCall
        * WSAUnadvertiseProvider
        * WSCEnumNameSpaceProvidersEx32
        * WSCGetApplicationCategory
        * WSCGetProviderInfo
        * WSCInstallNameSpaceEx
        * WSCInstallNameSpaceEx32
        * WSCSetApplicationCategory
        * WSCSetProviderInfo
        * WSCSetProviderInfo32The following are new Windows Sockets SPI structures:    * NSPV2_ROUTINEMicrosoft Windows Vista introduces new Windows Sockets programming elements.The following are new Windows Sockets Ioctls:    * SIO_SET_COMPATIBILITY_MODEThe following are new Windows Sockets options:    * SO_BSP_STATE
        * IP_UNICAST_IF
        * IPV6_UNICAST_IFUpdated for April 2005The following functions have been added to the Windows Sockets SPI (ws2spi.h) to support 32-bit processes and catalogs on 64-bit platforms:    * WSCDeinstallProvider32
        * WSCEnableNSProvider32
        * WSCEnumNameSpaceProviders32
        * WSCEnumProtocols32
        * WSCGetProviderPath32
        * WSCInstallNameSpace32
        * WSCInstallProvider64_32
        * WSCInstallProviderAndChains64_32
        * WSCUnInstallNameSpace32
        * WSCUpdateProvider32Updated for Windows Server 2003Microsoft Windows Server 2003 introduces new Windows Sockets programming elements. These elements extend the capability of Winsock to simplify programming and provide IPv6 compatibility. For more information about porting Winsock applications to IPv6, see IPv6 Guide for Windows Sockets Applications.The following are new Windows Sockets functions:    * ConnectEx
        * DisconnectEx
        * freeaddrinfo
        * gai_strerror
        * getaddrinfo
        * getnameinfo
        * TransmitPackets
        * WSANSPIoctl
        * WSARecvMsgThe following are new Windows Sockets structure definitions:    * addrinfo
        * in_pktinfo
        * SOCKADDR_STORAGE
        * TRANSMIT_PACKETS_ELEMENT
        * WSAMSG