Add C++ native socket to Cocos Creator

Hi guys,
I have a project created with Cocos2d-js which included native socket (C++). Now I want to port it to Cocos Creator. Is there any way to integrate these C++ code with Cocos Creator ?

Tks for your help.

Anyone, please.

just like cocos2d-js, use jsb : The Tutorial for JSB 2.0

there is a exist socket lib support cocos creator jsb2.0, you can reference: https://github.com/simdsoft/yasio