socket问题

话说cocos为什么不直接用系统的socket(AF_INET, SOCK_DGRAM, 0) 和socket(AF_INET, SOCK_STREAM, 0) 来创建socket呢 是有什么问题吗?