Главная страница | назад





Article #26539: Winsock2 features

Question

What are the main differences between winsock1.1 and winsock2?

Answer

In winsock 1, TCP/IP was the only protocol officially supported. In Winsock2 there is support for OSI, Novell IPX/SPX and Digital's DECNet added to the spec. There is also a standard mechanism to add new protocols.

Also there is now much better integration between winsock. For example you can now use readfile(). on a socket instead of recv().

There is support for Quality of service and Multicasting. QoS is the ability to reserve a portion of bandwidth on a connection.

Probably most importantly, there is now support for layered service providers. This allows you to 'plugin' things like an SSL layer and automatically encrypt your data.

For a complete list of what is in the Winsock2 specification point your browser to http://www.sockets.com/winsock2.htm#OverView

Last Modified: 04-JAN-01