Dave's Brain

Browse - Programming Tips - Which library should I link my Winsock program to?

Date: 2013jan20
OS: Windows

Q.  Which library should I link my Winsock program to?

A.  These are the choices:

winsock.lib wsock32.lib ws2_32.lib
In my experience ws2_32.lib seems to be work on the largest number of machines... from different versions of Windows, etc.

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.