summaryrefslogtreecommitdiff
path: root/src/network/network.cpp
AgeCommit message (Collapse)Author
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-09-07(svn r26788) -Add: Desync replay option to skip/replay failed commandsfrosch
2014-09-07(svn r26786) -Fix: Also replay failed commands.frosch
2014-05-11(svn r26577) -Fix [FS#6001]: [Network] Client of non-dedicated server was ↵rubidium
not correctly put into the first company for all state variables
2014-04-25(svn r26509) -Codechange: replace strdup with stredup (the latter ensures ↵rubidium
the return is not NULL)
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
2014-04-08(svn r26449) -Add: Allow more sound sleep for dedicated servers when there's ↵planetmaker
nothing to do and nobody paying attention
2013-11-14(svn r25997) -Codechange: make it slightly more clear what ports are coming ↵rubidium
from where in the debug output when listening
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-01-09(svn r23780) -Fix [FS#4963] (r23764): also name the two new errors ↵truebrain
server-side. As extra, split up one of the errors in 3 errors, to be more specific what goes wrong. As cherry on top, make sure on all sides we can never again forget to add such entries on both sides, by introducing an assert_compile()
2012-01-04(svn r23751) -Codechange: rename NetworkUDPGameLoop to a more descriptive ↵rubidium
name, and move the UDP specific bits to network_udp
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2011-12-19(svn r23618) -Add: ScriptGame::Pause, ScriptGame::Unpause, and ↵truebrain
ScriptGame::GetLandscape (GameScript only)
2011-12-19(svn r23601) -Fix: fix the conflict in window numbertruebrain
2011-12-10(svn r23476) -Codechange: use the error queue to replace switch mode error ↵rubidium
strings, again making it possible to return multiple errors
2011-09-15(svn r22934) -Fix [FS#4771]: prevent authentication bypass for the admin ↵rubidium
port when a new game is started
2011-08-13(svn r22738) -Fix [FS#4722] (r21854): Setting company passwords via the GUI ↵frosch
on servers (including starting a company with the default password) failed, so no client could join.
2011-07-30(svn r22696) -Fix: don't requery the servers when the server list window ↵rubidium
isn't opened
2011-05-05(svn r22424) -Document: some more bitsrubidium
2011-05-04(svn r22423) -Document: some network stuffrubidium
2011-04-22(svn r22368) -Codechange: move the IP address field from the ClientInfo to ↵rubidium
ClientSocket
2011-04-22(svn r22363) -Codechange: NetworkFindClientStateFromClientID -> ↵rubidium
NetworkClientSocket::GetByClientID
2011-04-22(svn r22362) -Codechange: NetworkFindClientInfoFromClientID -> ↵rubidium
NetworkClientInfo::GetByClientID
2011-02-19(svn r22116) -Codechange: use PoolBase::Clean() at more placessmatz
2011-02-08(svn r22032) -Codechange: add some asserts to verify we don't allocate too ↵rubidium
many NetworkClientSockets/Infos
2011-01-19(svn r21854) -Codechange: refactor the password setting methods to make it ↵rubidium
possible to change the password of other companies (on the server)
2011-01-19(svn r21853) -Codechange: HashCurrentCompanyPassword is only used by ↵rubidium
servers, so move it to network_server.* (dihedral)
2011-01-19(svn r21852) -Codechange: generalise GenerateCompanyPasswordHash (dihedral)rubidium
2011-01-19(svn r21851) -Codechange: rename NetworkClientSetPassword to ↵rubidium
NetworkClientSetCompanyPassword (dihedral)
2011-01-19(svn r21850) -Codechange: move password hashing to a more general location ↵rubidium
(dihedral)
2011-01-03(svn r21701) -Codechange: ConsoleColour = TextColour, so make it that way ↵rubidium
and remove some unneeded casts
2010-12-14(svn r21513) -Feature [FS#532]: make the chat message timeout user configurablerubidium
2010-12-14(svn r21512) -Change/Feature: make the delay of the chat messages timing out ↵rubidium
unrelated to the number of passed game days, i.e. don't stop aging chat messages when the server is paused
2010-12-05(svn r21412) -Codechange: limit company name by amount of characters, not bytesrubidium
2010-11-30(svn r21358) -Codechange: make some network function names conform to coding ↵rubidium
style
2010-11-23(svn r21308) -Fix [FS#4262] (r20933-ish): crash upon desyncrubidium
2010-11-13(svn r21157) -Codechange: remove information about the text direction out of ↵rubidium
the language "list"
2010-10-24(svn r21030) -Codechange: move ClientStatus into the network server socket classrubidium
2010-10-21(svn r21004) -Fix [FS#3746]: chat/console messages got sometimes messed up ↵rubidium
due to LTR names in RTL translations and vice-versa
2010-10-18(svn r20988) -Fix [FS#4167]: no need to send packets and possibly get the ↵rubidium
connection closed when the next call also tries to send the packets and then closes the connection. Especially if the former frees a structure that the latter assumes to be still there
2010-10-17(svn r20978) -Fix (r20963): MSVC seems to be complaining more than GCC once ↵rubidium
again :)
2010-10-17(svn r20966) -Change: enable remote administration sockets (parts by Yexo ↵rubidium
and dihedral)
2010-10-15(svn r20938) -Codechange: make the code for listening on a socket (more) ↵rubidium
reusable
2010-10-15(svn r20936) -Codechange: make server side packet sending methods class methodsrubidium
2010-10-15(svn r20935) -Codechange: only let the server side use a pool of connected ↵rubidium
sockets
2010-10-15(svn r20934) -Codechange: move NetworkGetClientName to the server's socketrubidium
2010-10-15(svn r20933) -Codechange: move some more client related methods and such to ↵rubidium
network_client.cpp
2010-10-15(svn r20930) -Codechange: simplify the socket handler allocationrubidium
2010-10-15(svn r20929) -Codechange: make NetworkCloseClient a class methodrubidium