You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8fa53f543a
Currently we use default OS timeout for TCP connections, which is around 30s. 99% of the users will never notice this, but there are a few cases where this is an issue: - If you have a broken IPv6 connection, using Content Service is first tried over IPv6. Only after 30s it times out and tries IPv4. Nobody is waiting for that 30s. - Upcoming STUN support has several methods of establishing a connection between client and server. This requires feedback from connect() to know if any method worked (they have to be tried one by one). With 30s, this would take a very long time. What is good to mention, is that there is no good value here. Any value will have edge-cases where the experience is suboptimal. But with 3s we support most of the stable connections, and if it fails, the user can just retry. On the other side of the spectrum, with 30s, it means the user has no possibility to use the service. So worst case we annoy a few users with them having the retry vs annoying a few users which have no means of resolving the situation. |
3 years ago | |
---|---|---|
.. | ||
core | 3 years ago | |
CMakeLists.txt | 4 years ago | |
network.cpp | 3 years ago | |
network.h | 5 years ago | |
network_admin.cpp | 3 years ago | |
network_admin.h | 3 years ago | |
network_base.h | 3 years ago | |
network_chat_gui.cpp | 3 years ago | |
network_client.cpp | 3 years ago | |
network_client.h | 5 years ago | |
network_command.cpp | 3 years ago | |
network_content.cpp | 3 years ago | |
network_content.h | 3 years ago | |
network_content_gui.cpp | 3 years ago | |
network_content_gui.h | 5 years ago | |
network_func.h | 3 years ago | |
network_gamelist.cpp | 4 years ago | |
network_gamelist.h | 5 years ago | |
network_gui.cpp | 3 years ago | |
network_gui.h | 3 years ago | |
network_internal.h | 3 years ago | |
network_server.cpp | 3 years ago | |
network_server.h | 3 years ago | |
network_type.h | 3 years ago | |
network_udp.cpp | 3 years ago | |
network_udp.h | 3 years ago |