winsock2



Winsock2 h описание

Автор Jonny depp задал вопрос в разделе Другие языки и технологии

Чем отличается winsock от winsock2 c++? и получил лучший ответ

Ответ от =Serge=[гуру]
Here is a list of the new features that WinSock 2 provides:
1.Multiple Protocol support: WOSA architecture let's service providers "plug-in" and "pile-on"
2.Transport Protocol Independence: Choose protocol by the services they provide
3.Multiple Namespaces: Select the protocol you want to resolve hostnames, or locate services
4.Scatter and Gather: Receive and send, to and from multiple buffers
5.Overlapped I/O and Event Objects: Utilize Win32 paradigms for enhanced throughput
6.Quality of Service: Negotiate and keep track of bandwidth per socket
7.Multipoint and Multicast: Protocol independent APIs and protocol specific APIs
8.Conditional Acceptance: Ability to reject or defer a connect request before it occurs
9.Connect and Disconnect data: For transport protocols that support it (NOTE: TCP/IP does not)
10.Socket Sharing: Two or more processes can share a socket handle
11.Vendor IDs and a mechanism for vendor extensions: Vendor specific APIs can be added
12.Layered Service Providers: The ability to add services to existing transport providers
In a nutshell, WinSock 2 is WinSock 1.1 on steroids, it's a superset of 1.1's APIs and architecture In addition to its new features, it also clarifies existing ambiguities in the 1.1 WinSock specification and adds new extensions that take advantage of operating system features and enhance application performance and efficiency. Finally, WinSock 2 includes a number of new protocol-specific extensions. These extensions--such as multicast socket options--are relegated to a separate annex, since the main WinSock 2 protocol specification is protocol-independent.
Источник:

Ответ от Онатолий Вантус[гуру]
от носка?

Ответ от Ёэм Кольт[активный]
с++ лучше просто изза того больше способностей

Ответ от [гуру]
Что-то, наверно, добавлено новое.
Или разное - в одном одно, в другом другое, в разных случаях надо использовать разные файлы.
Смотрите MSDN.

Ответ от Aljebro[гуру]
Лет 10-15 назад этот вопрос, может, был ещё актуальный...

Ответ от 3 ответа[гуру]
Привет! Вот подборка тем с похожими вопросами и ответами на Ваш вопрос: Чем отличается winsock от winsock2 c++?
 

Ответить на вопрос:

Имя*

E-mail:*

Текст ответа:*
Проверочный код(введите 22):*