Definition to Winsock

What is Winsock?

It is called Winsock because it is an adaptation of the Berkeley UNIX socket interface to Windows.

Winsock is the abbreviation of the Windows Sockets API (WSA).

use Winsock command

Each interface represents a contract.

The API guarantees that conforming applications can run normally with any internet software vendors conforming protocol implementation.

It was not enough to create APIs that were only useful for newly written Windows programs.

Therefore, Windows Sockets contained many elements designed to facilitate porting.

Such a mechanism was very helpful, but system porting was still extremely complicated.

In a relatively short time, porting gave way to the development of dedicated Windows applications.

Implementations of Winsock