endel / NativeWebSocket

🔌 WebSocket client for Unity - with no external dependencies (WebGL, Native, Android, iOS, UWP)
Other
1.27k stars 160 forks source link

how do you make a server with unity too? #96

Open skindin opened 3 months ago

skindin commented 3 months ago

im building my dedicated server and client builds from the same unity project. all of the examples seem to be for clients, but I'm not seeing how to make a server. So, im using websocketsharp for the server script, and this for the client script. it's interesting, because the server can interpret everything the server sends it, but the client doesn't even detect incoming messages, probably becase they take different paramaters or data types... idk.