aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon/net_ip.c
Commit message (Collapse)AuthorAgeFilesLines
* * Fix some new GCC 4.3 warningstma2008-11-101-4/+4
| | | | | | | * Fix many many strict aliasing warnings, now that it's re-enabled git-svn-id: svn://svn.icculus.org/quake3/trunk@1487 edf5b092-35ff-0310-97b2-ce42778d08ea
* Patch to make getnameinfo() call work on OpenBSD systems. Created by ↵thilo2008-10-291-3/+10
| | | | | | agent59692154@spamcorptastic.com git-svn-id: svn://svn.icculus.org/quake3/trunk@1475 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Add scope id to ipv6 addresses.thilo2008-08-311-9/+10
| | | | | | | | | | - Clean up a few other ipv6 issues like removing the seemingly unnecessary MacOSX workaround. - Bring ipv6 master server up to speed for dpmaster Thanks go out to Mathieu Olivier for this work. git-svn-id: svn://svn.icculus.org/quake3/trunk@1468 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Use IPv6 header qcommon/wspiapi.h if it has been added by the end usertma2008-08-091-43/+50
| | | | | | | * Update README to explain the Windows XP requirement git-svn-id: svn://svn.icculus.org/quake3/trunk@1444 edf5b092-35ff-0310-97b2-ce42778d08ea
* bind ipv6 sockets firstludwig2008-06-121-20/+21
| | | | | | | | by binding the ipv6 sockets first it's possible to bind 0.0.0.0 and :: to the same port. git-svn-id: svn://svn.icculus.org/quake3/trunk@1386 edf5b092-35ff-0310-97b2-ce42778d08ea
* show numeric address the server binds toludwig2008-06-121-6/+6
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1385 edf5b092-35ff-0310-97b2-ce42778d08ea
* reorder includes to fix build on OpenBSD (#3663, patch by Jonathan Gray)ludwig2008-05-251-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1346 edf5b092-35ff-0310-97b2-ce42778d08ea
* whoops.thilo2008-05-171-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1345 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Workaround for buggy MacOSX getaddrinfo() implementation that doesn't ↵thilo2008-05-171-2/+10
| | | | | | | | | accept AF_UNSPEC parameter in hints structure. Thanks icculus for reporting. - Add -faltivec flag for debug builds. git-svn-id: svn://svn.icculus.org/quake3/trunk@1344 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix a bunch of compile warningstma2008-05-101-14/+17
| | | | | | | | * Only call pkg-config if it exists * Remove cl_consoleHistory from README git-svn-id: svn://svn.icculus.org/quake3/trunk@1342 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix crash bug for interfaces without assigned address, thanks to PhoinixGR ↵thilo2008-04-211-1/+7
| | | | | | for reporting. git-svn-id: svn://svn.icculus.org/quake3/trunk@1324 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix obvious bug, thanks mattn2thilo2008-04-161-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1323 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix build on IRIX (Patrick Baggett)ludwig2008-04-161-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1322 edf5b092-35ff-0310-97b2-ce42778d08ea
* Only don't send packet on disabled multicast if it actually is a multicast ↵thilo2008-04-121-2/+2
| | | | | | packet git-svn-id: svn://svn.icculus.org/quake3/trunk@1313 edf5b092-35ff-0310-97b2-ce42778d08ea
* Add com_standalone cvar for at-runtime handling of mods that do not require ↵thilo2008-04-101-1/+1
| | | | | | the original quake3 game data. git-svn-id: svn://svn.icculus.org/quake3/trunk@1309 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix uninitialized usage warnings on MacOSX.thilo2008-04-091-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1306 edf5b092-35ff-0310-97b2-ce42778d08ea
* Add Multicast capabilities for LAN server scanning.thilo2008-04-091-131/+302
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1305 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix to MinGW build following IPv6 changestma2008-04-051-5/+11
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1294 edf5b092-35ff-0310-97b2-ce42778d08ea
* I hope this makes the code work on solaris, too and fix the EINVAL on sendto()thilo2008-04-051-3/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1293 edf5b092-35ff-0310-97b2-ce42778d08ea
* - include Winsock2.h for windowsthilo2008-04-051-1/+1
| | | | | | | - add a __BSD__ define for all bsd platforms if it doesn't exist. git-svn-id: svn://svn.icculus.org/quake3/trunk@1292 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix compilation on Solaris and possibly other platforms that have no ↵thilo2008-04-051-91/+24
| | | | | | getifaddrs() git-svn-id: svn://svn.icculus.org/quake3/trunk@1291 edf5b092-35ff-0310-97b2-ce42778d08ea
* Basic IPv6 support. Some inspiration from the patches by Lubos Dolezel and ↵thilo2008-04-041-299/+732
| | | | | | JF Tremblay at https://bugzilla.icculus.org/show_bug.cgi?id=2355. git-svn-id: svn://svn.icculus.org/quake3/trunk@1290 edf5b092-35ff-0310-97b2-ce42778d08ea
* Replace obsolete macro with some other macro. I hope this does not break too ↵thilo2007-12-141-1/+1
| | | | | | much. git-svn-id: svn://svn.icculus.org/quake3/trunk@1237 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Move MINSDL_ values to sys_local.h from Makefile/VC projecttma2007-11-261-0/+1
| | | | | | | | * Merge *BSD platform definitions in q_platform.h * IRIX support (Patrick Baggett <baggett.patrick@figglesoftware.com>) git-svn-id: svn://svn.icculus.org/quake3/trunk@1218 edf5b092-35ff-0310-97b2-ce42778d08ea
* * rewrite of the win32 dedicated console:tjw2007-09-151-26/+10
| | | | | | | | | | | | | | | | | | | | | | 1) NET_Sleep() no longer watches for input, Sys_Sleep() added for waiting on input. 2) Added "CtrlHandler" for trapping Ctrl-C and other quit methods not handled by signals on windows 3) Added history support 4) Added tab completion 5) Removed automatic cursor/scroll adjustment (too problematic) 6) Enable mousewheel scrolling 7) Stop using the InputBuffer for editing This seems to work pretty well now, but I jumped the gun on a previous commit message by saying you can scroll now without locking up your server. That was only true up until the point that a server tried to print to the console, at that point it will hang until you release the scroll bar :( It may be possible to get around this by using a seperate thread for console output, but that's a whole new can of worms. git-svn-id: svn://svn.icculus.org/quake3/trunk@1182 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Merge unified-sdl to trunktma2007-09-051-11/+5
| | | | | | | * Bump Q3_VERSION to 1.35 git-svn-id: svn://svn.icculus.org/quake3/trunk@1161 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Merge win_net.c and unix_net.ctma2007-08-281-0/+1082
+ Move win32/win_net.c to qcommon/net_ip.c and make it portable + Remove unix_net.c, but incorporate its revision history into win_net.c + Remove all IPX support -- this remains compatible with existing mods + This change also inadvertently gets us SOCKS support on non-Windows platforms git-svn-id: svn://svn.icculus.org/quake3/trunk@1139 edf5b092-35ff-0310-97b2-ce42778d08ea