Jeff Teunissen
999252c07a
Fix the same (ancient!) bug in ipv4 code...
...
Don't read the address of the peer until we know we've actually read
a packet.
2010-12-30 07:15:22 -05:00
Jeff Teunissen
1b23c470cb
Fix unknown family msgs
...
Found the source of all the bogus "unknown address family" messages --
reading the returned address of an errored read. D'oh!
2010-12-30 06:38:20 -05:00
Jeff Teunissen
9e0575313e
Net debugging
...
Add a SYS_NET developer mask for debugging network, and use it.
2010-12-30 05:01:58 -05:00
Jeff Teunissen
e96cbbdbd9
Captain Whitespace(tm) is back.
...
Don't judge me... :)
2010-12-30 04:58:49 -05:00
Jeff Teunissen
5cfce584c9
ipv4 formatting changes
...
IPv4 addresses should be formatted identically to how we're used to seeing
them, without the brackets that denote an IPv6 address and separate it from
the port specification.
2010-12-30 04:46:44 -05:00
Jeff Teunissen
e7462d025f
Call freeaddrinfo() when done with the address info.
2010-12-30 04:34:15 -05:00
Jeff Teunissen
e89fb3a868
Nuke a structure I didn't need.
2010-12-30 04:30:16 -05:00
Jeff Teunissen
0a21f6a6df
Move a comment where it belongs
2010-12-30 03:43:46 -05:00
Jeff Teunissen
87dd61a6f8
Fix IPv4 interaction
...
Can now talk to IPv4 hosts again.
2010-12-30 03:42:22 -05:00
Jeff Teunissen
878a9cfb6a
ipv6: builds and works now, still can't interact with ipv4 clients/servers
2010-12-29 07:47:15 -05:00
Jeff Teunissen
fdb4d885ae
ipv6: start cleaning up strict-aliasing problems.
2010-12-29 06:58:14 -05:00
Jeff Teunissen
cdf5ef2565
ipv6: Fix glibc defines
2010-12-29 06:36:43 -05:00
Bill Currie
de04e1b602
Lots of win32 (mingw cross) build fixes.
...
HTTP (curl) support is missing, but everything else builds.
2010-12-23 11:40:16 +09:00
Bill Currie
8c4fe2f844
Rename Sys_DPrintf to Sys_MaskPrintf.
...
We now have finer runtime control over what gets printed. Need to do a
SYS_DEV audit, creating new masks as apropriate.
2010-11-26 16:19:26 +09:00
Bill Currie
d4ae231f34
sezero's NET_SendToAll fix
...
Here's a patch to NET_SendToAll() which was always
broken: it never skipped non-connected clients.
Depending on the compiler, it would wait the whole
5 seconds of its blocktime before it gave up.
While there, changed its blocktime argument to
double (the comparison is against a double.)
2010-11-21 14:27:43 +09:00
Bill Currie
0dfff8fd58
ignore stuff
2010-08-07 10:42:09 +00:00
Bill Currie
eb636ea16f
win32 fixes and vc2008 build files from phrosty
2010-03-12 10:51:07 +00:00
Bill Currie
53cd9be90a
Progress on map changing with qtv clients
...
Rename SV_DemoSendMessages to SVR_SendMessages, and make sure SVR_SendMessages
and SV_qtvSendMessages get called when SV_SendMessagesToAll is called.
2010-01-13 06:45:43 +00:00
Bill Currie
997102fea8
audit the usage of "only"
...
There are still a few iffy places (notably around certain prepositions), but
the relevant sentences are now much easier to read.
2010-01-13 06:42:26 +00:00
Bill Currie
36a9ccb01a
memcpy->memmove pointed out by Philippe Troin
2009-12-20 05:59:22 +00:00
Bill Currie
b14fcccd8f
get qf compiling with gcc 4.4
2009-12-19 10:54:23 +00:00
Bill Currie
5df7fe5512
printf bogosity fixes from Dabb
2009-04-10 23:59:48 +00:00
Bill Currie
d52df3a733
missed this when fixing things for Hikaru
2008-08-01 00:48:18 +00:00
Bill Currie
22caa5b4c4
and some more
2008-07-28 01:31:20 +00:00
Bill Currie
ba6e3c69cd
hopefully fix type punning for gcc 4.2
2008-07-28 01:26:56 +00:00
Bill Currie
fe95805d86
various gcc 4.3 fixes
2008-07-19 05:40:57 +00:00
Bill Currie
2b81eaea6c
console.h include cleanup
2007-11-06 12:40:38 +00:00
Bill Currie
d66934942d
nuke Con_Printf and Con_DPrintf and use Sys_* instead
2007-11-06 10:17:14 +00:00
Ragnvald Maartmann-Moe IV
1571f0993f
Const mismatch fix in net_udp6.c, plus whitespace in net_udp.c
2007-09-09 14:47:15 +00:00
Bill Currie
ce2ba56c47
gcc 4.2 clean
2007-05-31 05:58:33 +00:00
Bill Currie
df2bebde7e
more vc build patches from phrosy
2007-04-06 01:09:58 +00:00
Bill Currie
02c41feabc
make gamedir change a two phase operation so things can be done both before and after the cache is flushed. (still having problems with cached sounds, though)
2007-03-24 10:13:10 +00:00
Bill Currie
99c0954b47
the big dso visibility patch :). Sure, we have to have unique names for static builds, but with controlled visibitly we should get faster program loads (although this isn't C++, so it's not as bad) and complex plugins are cleaner.
2007-03-10 12:00:59 +00:00
Bill Currie
d28952dfcc
fix a bunch of gcc-4.1 warnings (thanks for the heads up, jordi)
2006-11-30 22:52:36 +00:00
Bill Currie
87cc09233c
"long" audit. can't use long when we want 32 bits. May be a few more cases.
2005-10-23 13:19:21 +00:00
Bill Currie
3fb03fc2be
hah, should have been using __attribute__((used)) all that time (rather
...
than __attribute__((unused))). fixes the missing console in -x11
2005-08-04 15:27:09 +00:00
Bill Currie
e10e2be1e3
get the len types right rather than guessing
2005-06-08 08:49:54 +00:00
Bill Currie
501180aaac
gcc-4.0 fixes. even found some bugs :) (names /not/ mangled this time)
2005-06-08 06:35:48 +00:00
Bill Currie
9482a7c0b7
make showpackets a little more usable and informative
2005-05-10 02:37:34 +00:00
Bill Currie
a154ad2835
patch from sunspot/shadows to make net_drop non-global and a bunch more
...
work on qtv
2005-05-08 06:35:46 +00:00
Bill Currie
2d8923eaf5
pre-initialize chan->incoming_sequence to -1 so a packet with an incoming
...
sequence of 0 will work
2005-05-02 06:31:55 +00:00
Bill Currie
c4feb0e0d6
attempt to get the external ip address from the system rather than relying
...
on hostname as hostname might resolve to 127.0.0.1, which isn't good for
trying to play networked games. if the attempt fails, fall back to the
hostname method
2005-04-27 03:34:38 +00:00
Bill Currie
e3008841be
forgot net_loopback_adr in the ipv6 code (thanks, SpanKY)
2004-05-17 22:01:18 +00:00
Bill Currie
8fdd8a0888
make local command ip address checking sane
2004-04-12 23:38:09 +00:00
Bill Currie
0e1a9e5082
a bit more netchan cleanup
2004-02-19 23:06:47 +00:00
Bill Currie
029257f5d0
nuke an is_server
2004-02-19 22:29:50 +00:00
Bill Currie
fa58b795f2
except for packet logging, netchan is much cleaner (no more cls in the
...
server!)
2004-02-19 08:58:42 +00:00
Bill Currie
6d02004ca8
Mike Gorchak's <mike@malva.ua> second (final for now:) QNX patch. renames
...
msg_t to qmsg_t.
2004-01-20 06:11:00 +00:00
Bill Currie
e53967b346
--disable-static now works (thanks for the heads-up, raorn)
2003-12-22 20:51:08 +00:00
Bill Currie
da05864313
ports < 1024 are bad, period :)
2003-08-27 17:47:53 +00:00