Yes actually I searched pretty thoroughly and I think I have answers to most of my questions. I am not super concerned about HTML5.
I have a game that I am trying migrate from Godot. Everything seems to be in order, but no way to start a secured tcp connection for Android, IOS, Windows and Mac is a deal breaker for me.
As far as I know, I need to use an extension to add luasec to my project? And that should work cross platform correct?
Okay. Thank you for all the info.
[Edit] I can’t seem to find any documentation on how to secure the connection using extension-websocket.
Am I looking in the wrong spot?
Sorry I am new to using websockets.
Wouldn’t I need to pass some sort of authentication credentials before/after making a connection to secure it?
I was planning on using https or secured tcp to authenticate users server-side, but I figured websockets would work just as well if that is what defold supported.
Actually I’m sorry I think I got a bit confused!
I am going to look up some documentation but it appears the client does not need any sort of auth info
A secure connection (wss:// or https://) will secure the connection in such a way that you can ensure that there is no one listening to the data passing from your client to the server.
Authentication is a separate step that is used to identify a user trying to connect to your server. This can be done in a number of different ways. For http connections a common way is to use something called Basic Authentication where username and some kind of session token is passed in a header or in the URL itself. What is more common though is to send some kind of authentication request to the server. How this is done varies from server to server.