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
Posted by: Margaret Rouse

Email Alerts

Register now to receive SearchWindowsServer.com-related news, tips and more, delivered to your inbox.
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

More News and Tutorials

Do you have something to add to this definition? Let us know.

Send your comments to techterms@whatis.com

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
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
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: