Can I use libwebsockets in c++ developing?

I wonder if the libwebsockets could be used as a common solution for network development in C++?
If it can resolve all situations of network communication in cocos2d-x, I will be very happy that I have no need to integrate another third-party network library into my project.

You can use libwebsockets in c++.
But i don’t know if it fits your need.

Thanks very much, it is very kind of you.

I will have a try on it.