title: WSAStartup link error
body: <p>I am using EVC++ and I want to compile the program which uses the sockets.
  I've included </p>
  
  <p><code>#include &lt;winsock2.h&gt;</code></p>
  
  <p>And I have included in project properties a path to Ws2.lib
  But still get the error at link step:</p>
  
  <blockquote>
    <p>error LNK2019: unresolved external symbol WSAStartup referenced in function ...</p>
  </blockquote>
  
  <p>How to resolve this problem?</p>