Websockets vs LiteWebsockets
Options
dreamora
✭
Hello
I wanted to verify / check a thing: I was under the impression that websockets act as a different connection similar to TCP / UDP
But now I struggled over LiteWebSockets in the src server folder where the peer extends from Photon.Websockets.PeerBase and that kind of forces me to assume that the impression is wrong and that websockets are still a second class citizen.
Is this true or is that just some reminder from the original implementation path?
I wanted to verify / check a thing: I was under the impression that websockets act as a different connection similar to TCP / UDP
But now I struggled over LiteWebSockets in the src server folder where the peer extends from Photon.Websockets.PeerBase and that kind of forces me to assume that the impression is wrong and that websockets are still a second class citizen.
Is this true or is that just some reminder from the original implementation path?
0
Comments
-
Hi Dreamora,
are you sure you are looking to the latest server sdk? One of the changes we made was to kick LiteWebsockets out.
Now websockets are integrated in our standard stack. Where the main difference between websockets connections and TCP/UDP beeing the serialization - which is json instead of our binary serialization.
The Namespace Photon.Websockets is a reminiscence which most probably will disappear.
-Philip0 -
I was looking at the RC8 one I downloaded that day, yes.
Thanks for the verification, so it seems to be more of an echo potentially, the reason I was surprised / unsure is that the Websockets configuration block names a PhotonApplication (lite) and funny enough its LiteWebSockets which exists as Photon application, at the same time LoadBalancing does not have a Websocket connection present although I'm willing to be that this is a if not the primary use case for websockets, serious scaleability for web games.0 -
> LoadBalancing does not have a Websocket connection present
We are working on the client sdk to support this. We released before we where ready with the Loadbalancing/Cloud support - under pressure of some of you guys .0 -
Ah I see
Thanks for letting me know0