0
Hello.
I am in a project in nodejs + socket.io, I am with big problem, in relation to the client’s slow internet, I need to know if in socket.io there is some kind of event like this // If the client’s internet is slow this function is active
socket.event('internetLenta',function(){
alert('Sua internet está com lentidão, poderá ocorrer delay entre você e o servidor');/
});
Is there a way for me to know if the client’s internet is slow via socket.io?
Hugs
Not.
– Bacco
Just making requisitions with
XMLHttpRequest
... or you can detect if the Internet is slow while the page loads (but this only happens once): http://stackoverflow.com/questions/6994061/how-to-detect-slow-internet-connections.– Klaider