Jump to content

Higher Latency with mobile devices?(phonegap)


InsOp
 Share

Recommended Posts

Hello folks,

im developing a multiplayer beat'em up for mobile devices. the server is a nodejs server and the connection via socket.io.

playing the game is fine with any desktop computer: ping* to local server is 1ms and ping to internet server is 15 ms which is quite good.

 

but playing with either the bluestacks emulator or with a real mobile device ping to local server is still good (10ms) but ping to a internet server differs from 20ms to 70ms (using wifi/same connection as above).

 

ive also noticed that the package received by the server has almost no delay, but the package then received by the client from the server is far higher than it should be.

 

question now is: what could be the problem?

  • socket.io
  • phonegap
  • node.js
  • mobile devices

thanks for your help and time

 

 

*simple roundtriptime from client to server via socket.io

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...