how to fix: Cannot open include file: 'winsock6.h'

P

P2P

Hi All,

i did compile my project on VC 6 without winsock6.h problem

but if i port to VC2005 then i get this error when compile: Cannot open
include file: 'winsock6.h':

In Tool->Option->VC++ Directories-> Include Files of VC2005 , i added:
$(VCInstallDir)PlatformSDK\include
and
D:\Program Files\Microsoft Visual Studio\VC98\Include

But this error still exist.

How can i fix this error on VC 2005?
 
C

Carl Daniel [VC++ MVP]

P2P said:
Hi All,

i did compile my project on VC 6 without winsock6.h problem

but if i port to VC2005 then i get this error when compile: Cannot
open include file: 'winsock6.h':

In Tool->Option->VC++ Directories-> Include Files of VC2005 , i added:
$(VCInstallDir)PlatformSDK\include
and
D:\Program Files\Microsoft Visual Studio\VC98\Include

But this error still exist.

How can i fix this error on VC 2005?

winsock6.h is not a standard Microsoft platform SDK header file. I wasn't
able to find anything very specific about it, but my guess is that it was
part of an early IPv6 preview implementation. At this point, you should
just be including winsock2.h.

-cd
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top