Using libwebsockets on Android

Hi,

I need to connect to a server from Windows & Android via websockets. Judging from what I’ve read so far, the recommended approach is to use the libwebsockets library that is bundled with the Engine, but it is not clear whether this only works on Windows, or whether this compiles for Android too. The compiled libs look like it is Windows only.

Can I use libwebsockets in my project and package it for Android? If not, could anyone offer advice on how to support websocket connections on Android?

Thanks!

Of course you can, but build libwebsocket for unreal engine 4 is very hard,
you need to use the right openssl version and write a plugin for unreal engine 4,
But I have done this, look at my plugin.
https://github.com/feixuwu/UEWebsocket

Thanks! I ended up writing a plugin that uses the websocketpp library, but great to see your plugin. Thanks for sharing.