- Home /
Detecting Slow Internet Connection
Hello,
I'm working on a multiplayer cards game using sfs2x as the multiplayer platform. My current issue is detecting slow network connection so that I would show a popup for the user to notify him with the slow connection.
I don't want to just check the network availability, I'd like to check the strength of the connection.
For example:
1-The user starts the game with a connectivity speed / strength of X
2- At some point the connection gets slower and the speed / strength goes lower than X/2
3- I'd execute an action at this point to notify him with the slow connection to ensure a good user experience.
HINT
The game platforms are Android / iOS
I'd prefer the DIY method and not using an already made package, but any idea is welcomed of course
Thank You.
Answer by ViralWebbs · Apr 09, 2018 at 10:35 AM
it might help u (Saad) https://docs.unity3d.com/ScriptReference/Network.TestConnection.html