So, I'm debugging a web app that uses socket.io on an iPad tablet.
Connected to the Internet through the same router as my deskop computer, I noticed packets take much longer (up to 3 seconds longer) to arrive to the iPad browser (both Chrome 56 and Safari 10) compared to how fast they arrive to my desktop browser (Chromium 56).
So I figured, maybe socket.io is using long-polling for some reason on the iPad, and WebSockets on my desktop computer.
Safari and Chrome for iOS obviously support WebSockets, so I want to first confirm this theory and then find a way to stop long-polling and use WebSockets.
In order to test this theory, I need a way to find out whether the app is using long-polling or WebSockets, but I don't have access to remote debugging tools for iOS (i.e. a Mac or Windows computer).
Does socket.io provide an interface I can use to probe what connection mode it's currently using?