[quake3] IPv6 support

vincent at cojot.name vincent at cojot.name
Sat Apr 5 05:21:15 EDT 2008


Hi Thilo,

I Don't have time for a patch right now but Solaris 10 doesn't have 
ifaddrs.h (getifaddrs):

DED_CC code/qcommon/net_ip.c
code/qcommon/net_ip.c:58:21: ifaddrs.h: No such file or directory
code/qcommon/net_ip.c: In function `NET_GetLocalAddress':
code/qcommon/net_ip.c:1137: warning: implicit declaration of function `getifaddrs'
code/qcommon/net_ip.c:1141: error: dereferencing pointer to incomplete type
code/qcommon/net_ip.c:1143: error: dereferencing pointer to incomplete type
code/qcommon/net_ip.c:1144: error: dereferencing pointer to incomplete type
code/qcommon/net_ip.c:1147: warning: implicit declaration of function `freeifaddrs'
gmake[2]: *** [build/release-sunos-i386/ded/net_ip.o] Error 1
gmake[2]: Leaving directory 
`/net/thorbardin/export/home/raistlin/SVN/icculus/quake3-Solaris/trunk'
gmake[1]: *** [targets] Error 2
gmake[1]: Leaving directory 
`/net/thorbardin/export/home/raistlin/SVN/icculus/quake3-Solaris/trunk'
gmake: *** [release] Error 2

We'd need some kind of protection for other platforms,

Solaris has had IPV6 since '00 (Solaris 8) but I have never used it.
I'm investigating,

Vincent


On Sat, 5 Apr 2008, Thilo Schulz wrote:

> Hello,
>
> Over the last few days I have finally added ipv6 support to ioquake3.
> As of now, ioquake3 has full capability to create, as well as join ipv6
> servers. However - the ipv6 capabilities are still basic. Meaning, connecting
> works, but stuff like server scanning on local subnet, master server queries
> and banning of course do not work yet. I will tackle these issues one by one
> in the next days.
>
> In the meantime, the basic work has been committed to SVN.
> It is not really documented yet, I will write that up and add details to the
> README when the main part is done.
>
> I have tested the code under Linux and Windows and it should work for both.
> Nevertheless, you are more than welcome to give the code a shot yourselves.
> I'd also like to have some MacOSX users try to compile the stuff and tell me
> whether everything works. Just drop me a line here about problems you
> encounter and I will try to fix them.
>
> If you need a host for testing, a test server is running at
> ipv6.tjps.eu:27960
> It has no v4 address, so you really need ipv6 access if you want to connect.
>
> You can use
> /connect -6 <servername>
> to have it explicitly use ipv6, though in the case where there is only an ipv6
> address it will use that one anyways.
>
>

-- 
,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,
Vincent S. Cojot, Computer Engineering. STEP project. _.,-*~'`^`'~*-,._.,-*~
Ecole Polytechnique de Montreal, Comite Micro-Informatique. _.,-*~'`^`'~*-,.
Linux Xview/OpenLook resources page _.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'
http://step.polymtl.ca/~coyote  _.,-*~'`^`'~*-,._ coyote at NOSPAM4cojot.name

They cannot scare me with their empty spaces
Between stars - on stars where no human race is
I have it in me so much nearer home
To scare myself with my own desert places.       - Robert Frost





More information about the quake3 mailing list