DescriptionRoderick 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 1Zachary J. Slater
2010-10-19 02:35:17 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 ;)
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