WinSock2 for Cocos2d Mobile

I would like to know if using winsock2 for my multiplayer game would also work on mobile platforms