title: Winsock redefinition errors
body: <p>I am compiling a project in Visual C++ 2010, but I have problems with some Winsock redefinitions.</p>
  
  <p>First of all I get:</p>
  
  <pre><code>syntax error : identifier 'SOCKADDR_STORAGE'
  </code></pre>
  
  <p>But if I include winsock or winsock2 or ws2tcpip i get many errors like these:</p>
  
  <pre><code>error C2011: 'sockaddr' : 'struct' type redefinition 
  error C2011: 'WSAData' : 'struct' type redefinition
  error C2011: 'linger' : 'struct' type redefinition
  </code></pre>