udp WAYYYY slow
Blitz3D Forums/Blitz3D Programming/udp WAYYYY slow
| ||
i just did a test of a 3d game with udp networking across the internet....is it normal for it to be extremely slow? chris |
| ||
Define slow -- what kind of round-trip times are you seeing, and how does it comare with doing a straight windows command-line 'ping' between the two computers in question? |
| ||
Yes Internet is slow.... try connect via LAN :) |
| ||
its one thing you ned to know about UDP. You dont have to wait for packets to arrive. just send a update every 10 ms and it will arive to other end. as long as you dont fill up the internet line that is. one problem is to read the udp on other side. make sure you empty udp buffer each frame or else :D |
| ||
You dont have to wait for packets to arrive. just send a update every 10 ms and it will arive to other end. Correction: It *may* arrive at the other end. It may not. With UDP, messages are not guaranteed to arrive. And they may also arrive out of order. |