UDP is also very important because it allows NAT punching to work. Hornwitser however has had a go at analyzing the traffic with his dissector, which even helped fix a bug that was in the game since 0.17! This means that they still have the speed that they want, but they can also have the reliability of TCP - or close to it, as the Factorio protocol is not publicly available for people to analyze. cube said that Wube have solved this with implementing parts of the TCP protocol into their version of UDP. The fact that UDP removes the guarantee of delivering data however directly contradicts how Factorio must work using fully-deterministic, lockstep algorithms as I explained in an earlier post, as the data must arrive or you would recieve a desync. This however also removes the ability to guarantee the delivery of data, ordering the data properly or removing data duplicates (which can sometimes happen). UDP achieves this speed by not having a “handshake”, which is two clients (computers) agreeing that they want to communicate together and establishing a connection, which simply means it doesn’t care about what happens with the data, it just sends it. UDP has the advantage of being much faster than conventional TCP (which is used for most day-to-day things). One of the most significant things they have done is using UDP but adding back things that are in TCP. cube has explained this process nicely in FFF#136. To explain how Factorio’s networking works, however, is a longer process. There are a few utilities that can however help mitigate these sorts of issues. It can be due to many things, such as maintenance from your ISP or a power outage of your DNS’s datacenters. Sometimes, your network may not be the best. Well, what does that actually mean? What can you do about it in the short and long term? Network Speed Issues If you don’t have a state-of-the-art computer, you probably have seen a message like this saying that you were dropped from the game because your network or computer was not fast enough.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |