summaryrefslogtreecommitdiff
path: root/src/network/network_udp.cpp
AgeCommit message (Collapse)Author
2016-10-30(svn r27670) -Add: [FS#6471] Assign descriptive names to (GNU pthread) ↵frosch
threads. (JGR)
2015-09-19(svn r27400) -Fix [FS#6368] (r26449): when a dedicated server was paused ↵rubidium
with no clients the tick length was increased significantly, making any assumptions about the tick length used further down in the code are not true anymore. One of such assumptions was that one should readvertise every 15 minutes worth of original ticks, but due to the lengthening this timeframe would be more like 45-60 minutes. Now we'll take the operating system's millisecond counter instead
2014-04-23(svn r26486) -Codechange: replace a number of snprintfs with seprintfrubidium
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-03-25(svn r24070) -Fix [FS#5098]: the 'last joined' server was not properly ↵rubidium
selected anymore (adf88)
2012-01-05(svn r23754) -Fix (r23752): the locks aren't reentrantrubidium
2012-01-04(svn r23752) -Fix [FS#4938]: missing locking causing crash is extreme case ↵rubidium
when being in the MP lobby
2012-01-04(svn r23751) -Codechange: rename NetworkUDPGameLoop to a more descriptive ↵rubidium
name, and move the UDP specific bits to network_udp
2011-12-11(svn r23494) -Feature: [NewGRF] action14 node INFO->URL_ to add an urlyexo
2011-07-30(svn r22695) -Fix [FS#4697]: mark addresses that could not be resolved as ↵rubidium
'do not resolve anymore' as well, instead of trying to resolve them each and every time the address is accessed
2011-05-04(svn r22423) -Document: some network stuffrubidium
2011-05-01(svn r22401) -Codechange: replace some defines in the udp code so doxygen ↵rubidium
can create better documentation
2011-03-03(svn r22162) -Fix [FS#4533]: No update of NewGRF window when unknown GRF ↵yexo
name becomes available
2010-12-11(svn r21463) -Fix [FS#4296] (r21405): when packets are filled their pos and ↵rubidium
size aren't the same as when they're read. As a check was incorrect.
2010-12-05(svn r21417) -Fix: ofcourse MSVC x64 has something to complain aboutrubidium
2010-12-05(svn r21405) -Codechange: prepare sending of company information in the UDP ↵rubidium
packet for longer company names (in bytes), by truncating the names if needed
2010-11-30(svn r21358) -Codechange: make some network function names conform to coding ↵rubidium
style
2010-10-17(svn r20957) -Codechange: Add another parameter to FindGRFConfig() to define ↵frosch
search restrictions.
2010-07-31(svn r20249) -Codechange: change the newgrf name/description from a char* to ↵yexo
a GRFText* to make translations possible
2010-07-24(svn r20211) -Codechange: Indented code should have curly braces around it.alberth
2010-05-13(svn r19814) -Codechange: give some more unnamed enums a name, in case they ↵rubidium
consisted of unrelated values use static const (u)int
2010-02-28(svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/infoyexo
2010-02-27(svn r19283) -Fix (r19256): GRFConfig is not zeroed for non-dynamic ↵frosch
construction. GRFIdentifier is sufficient though.
2010-02-25(svn r19255) -Codechange: encapsulate GRFIdentifier in GRFConfig instead of ↵yexo
subclassing it
2010-02-11(svn r19094) -Codechange: don't check for NULL values before calling StrEmptyyexo
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2010-01-06(svn r18746) -Fix [FS#3489]: clear the cached NewGRFs of a server when ↵rubidium
receiving a reply instead of when requesting the information. With slow/unstable network connections it would look like the NewGRF settings button went randomly missing.
2009-11-09(svn r18028) -Codechange: unglobalise some functionsrubidium
2009-11-09(svn r18027) -Codechange: make some unneededly global variables static and ↵rubidium
remove some unused variables
2009-10-04(svn r17701) -Codechange: don't start line with a space if it's not inside ↵smatz
comment
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-01(svn r17339) -Codechange: move thread related files to their own directory ↵rubidium
(like done for video, music, sound, etc)
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-06-13(svn r16573) -Fix: [Network] Always send the starting date from the game ↵rubidium
you're currently playing instead the starting date from the config file.
2009-05-22(svn r16379) -Codechange: remove GetNumTowns(), GetNumIndustries() and ↵smatz
GetActiveCompanyCount(), use PoolItem::GetNumItems() instead
2009-05-10(svn r16265) -Fix (r16238): wrong format string for debug outputsmatz
2009-05-06(svn r16238) -Change: improve/clarify some network related debug "error" ↵rubidium
messages by adding more information to them. Also give some clues on how to fix certain issues (like failing advertising).
2009-04-10(svn r16022) -Fix (r15159): sometimes the unregister "query" thread could be ↵rubidium
delayed so much that the network stuff was already closed and the packet would never reach the master server causing the server to appear online longer than necessary.
2009-04-10(svn r16014) -Feature(-ish): allow binding to several IPs; ↵rubidium
[network]:server_bind_ip doesn't exist anymore. Add the IPs/hostnames to [server_bind_addresses]
2009-04-08(svn r15993) -Codechange: clean up/generalise the handling of the server listrubidium
2009-04-08(svn r15990) -Codechange: provide a thread safe variant of GetAddressAsString.rubidium
2009-04-08(svn r15989) -Fix (r15987: segfault due to uninitialised sockets.rubidium
2009-04-08(svn r15987) -Fix: make the master socket only listen on the IP the server ↵rubidium
is bound to.
2009-04-08(svn r15984) -Codechange: prepare the UDP receiver to process multiple types ↵rubidium
of returned server lists.
2009-04-08(svn r15975) -Codechange: register each of the IPs we have bound to to the ↵rubidium
masterserver
2009-04-07(svn r15971) -Codechange: make it possible for UDP socket handlers to bind ↵rubidium
to multiple sockets.
2009-04-07(svn r15969) -Codechange: make the list of broadcast addresses virtually ↵rubidium
unlimited.
2009-04-05(svn r15961) -Codechange: prepare the 'client' side for receiving 'session ↵rubidium
keys' from the masterserver so servers can register with multiple IPs as the same server.
2009-04-03(svn r15932) -Codechange: show ip:port as (fallback) servername instead of ↵rubidium
only the ip. This way you can clearly see there aren't any duplicates.