Why CCStdC.h not use WinSock2.h

Why CCStdC.h not use WinSock2.h
0.0 0


when I tried to use libcurl for winphone 8. I’ve seen CCStdC.h not use “WinSock2.h”, it was comment and struct “timeval” have been declared in this.
So, why cocos2d-x not include “WinSock2.h” to use struct “timeval” for windows phone 8?
sorry for my bad English!


I have modified it in my github. But not in cocos2d-x master branch, haven’t merge it yet.


I also see libcurl for wp8 in cocos2d-x master branch, but cocos2d-x have been just removed it. your github, can be cocos2d extension use httpclient, socket…?