Bug 4465 - Network support for Android
Status: RESOLVED FIXED
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Platform
Version: GIT MASTER
Hardware: Other other
: P3 normal
Assignee: Zachary J. Slater
QA Contact: ioquake3 bugzilla mailing list
URL:
Depends on:
Blocks:
 
Reported: 2010-01-06 06:28 EST by Roderick Colenbrander
Modified: 2011-02-04 13:27:40 EST
1 user (show)

See Also:


Attachments
Android network fixes (1.07 KB, patch)
2010-01-06 06:28 EST, Roderick Colenbrander

Description Roderick Colenbrander 2010-01-06 06:28:03 EST
Created attachment 2253 [details]
Android network fixes

Hi,

This patch adds network support for Android. While Android is Linux based some headers are different. For instance the ipv6mr_mreq contains difference. Its ipv6mr_interface is called ipv6mr_ifindex. Others have experienced this issue as well and use defines like the ones I added to get it all working. Some android git commits suggest that Google might provide similar defines a future version of the Android Native Development Kit (right now it is at 1.6) but for now this is needed.

I have tested the code against a network play on my normal pc (using sv_pure) and it works fine.

Roderick Colenbrander
Comment 1 Zachary J. Slater 2010-10-19 02:35:17 EDT
sweet, lets put it in an hg repo
Comment 2 Roderick Colenbrander 2010-10-19 07:09:43 EDT
A small update, this bugfix is not needed anymore. Google has updated their headers in a recent Android NDK build. I wouldn't be surprised if it was related ;)
Comment 3 Thilo Schulz 2011-02-04 13:27:40 EST
Thanks for the update!