Is there a socket.io event that activates when the client’s internet is slow?

Asked

Viewed 76 times

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

  • 1

    Not.

  • 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.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.