SolarWebSockets icon indicating copy to clipboard operation
SolarWebSockets copied to clipboard

What is needed for Windows?

Open DimaUndSo opened this issue 4 years ago • 1 comments

Hey Joe, nice work with the plugin! What is needed to make this work also for Windows? Thanks

DimaUndSo avatar Feb 03 '22 14:02 DimaUndSo

Hey Dima,

Thank! I finally have a Windows computer so I could actually work to add Windows support. Here's my thinking for how to implement it.

  1. We could add server support with the mortzdk's Websocket server written in c. https://github.com/mortzdk/Websocket It's what the Mac and iOS builds use.

  2. Unfortunately we’ll need to find a client library. The other targets, like Mac, iOS or Android, either use an Objective C or Java library. Technically, mortzdk's c Websocket library supports clients (I believe), but I experience a lot of problems when testing it. So we'll need to find a web socket client written in C or C++.

  3. Once we have the client and server libraries in the plugin VS project, we can start to create an interface to Lua.

joehinkle11 avatar May 01 '22 05:05 joehinkle11