建议看本书清华出的Socket 网络编程大全,名称大概是这样,紫色皮的!

解决方案 »

  1.   

    2.0增加了一些功能,不过,基本的网络编程当中使用的API函数在这两个版本中都实现了。
      

  2.   

    1.6 - What does Winsock 2 have that Winsock 1.1 doesn't?
    One of the most important new features is official support for multiple transport protocols. Although Winsock 1.1 was not actually limited to TCP/IP, that was the only protocol that had official support written into the spec. There was no standard way for a vendor to add support for another transport protocol, though a few vendors did do proprietary implementations of other protocols. With Winsock 2, official support for OSI, Novell IPX/SPX and Digital's DECNet exists in the spec, and it's now possible to add support for other protocols in a standard way. More importantly, a program can be written to be transport-independent, so that it works with all of these protocols, without change.Winsock 2 also adds support for technical initiatives like quality of service (QoS) and multicasting. These technologies will become increasingly important as bandwidth requirements become more regimented and intense. For example, QoS allows a videoconferencing program to reserve a certain amount of bandwidth so that a sudden file transfer, for example, doesn't cause its video to begin breaking up due to a lack of bandwidth. Multicasting allows that videoconferencing application to send audio and video streams to many participants without duplicating data any more than absolutely necessary.Another important feature of Winsock 2 is complete integration with Win32's unified I/O mechanisms. For example, it is possible to use the Win32 ReadFile() API on a socket instead of recv(). More importantly, Windows NT/2000's overlapped I/O mechanisms can now be used with sockets. Winsock 2 on Windows 9x also implements overlapped I/O with sockets, but because there is no native support in the Windows 9x kernel for overlapped I/O, the mechanism is completely emulated by Winsock.Winsock 2 also allows for "Layered Service Providers." This enables many neat things, such as security plug-ins: drop in, say, an SSL service provider, and all of a sudden your data is automatically encrypted.There are a number of other additions to the spec. You can get a complete list of them on sockets.com's Winsock 2 Overview page.refer to : http://www.cyberport.com/~tangent/programming/winsock/
      

  3.   

    to prog_st(st)        《Socket 网络编程大全》,是这样的书名吗?
     
    to hongyucn(宏宇)   我那本一直在讲1。1版本,看得我直吐血。出版日期竟然还是
    2001。1。!to : masterz() 什么叫Layered Service Providers,是不是说相对OSI七层协议的
    功能相对清晰的实现。(好象还没表述清楚,等我再组织一下)