Definition

Winsock 2

Like Winsock, Winsock 2 is a programming interface and the supporting program that handles input/output requests for Internet applications in a Windows operating system. It's called Winsock because it's an adaptation for Windows of the Berkeley UNIX sockets interface. Sockets is a particular convention for connecting with and exchanging data between two program processes. Winsock 2 is a 32-bit version of Winsock.

Winsock 2 runs between an application program such as a Web browser and the program in your computer that handles TCP/IP. A request flows in the following order:

 

Web browser or other application
|
ws2-32.dll (Winsock 2)
|
Layers for TCP/IP (or certain other protocols)
|
Modem or network card
|
The Internet and destination

Winsock 2 offers these advantages over Winsock:

  • In addition to TCP/IP, it provides an interface to a variety of protocols, including IPX/SPX, ISDN and wireless protocols.
  • An application can request multicast and other protocol services not supported by Winsock 1.1.
  • It offers access to multiple name spaces.
  • It offers an application the possibility of choosing services based on cost.

Winsock 2 is included in the latest versions of the Windows operating systems.

This was last updated in September 2005

Continue Reading About Winsock 2

Dig Deeper on Microsoft Certifications

PRO+

Content

Find more PRO+ content and other member only offers, here.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

File Extensions and File Formats

Powered by:

SearchServerVirtualization

SearchCloudComputing

SearchExchange

SearchSQLServer

SearchWinIT

SearchEnterpriseDesktop

SearchVirtualDesktop

Close