Is IPv6 over the wifi interface supported in the SDK?

by Michael Newton » Wed, 21 Apr 2010 11:32:03 GMT


Sponsored Links
 I'm hearing that IPv6 is supported by android, at least over the wifi
interface, but I cannot do anything with IPv6 through the SDK at all.
I am running Android 2.1 on an N1.

I can see that at the OS level, the wifi interface has a link local
inet6 address:

ufo:~ newton$ adb shell
$ cat /proc/net/if_inet6
00000000000000000000000000000001 01 80 10 80       lo
fe80000000000000022376fffe8d1e63 0c 40 20 80     eth0

... although ifconfig does not show it:

$ ifconfig eth0
eth0: ip 192.168.1.2 mask 255.255.255.0 flags [up broadcast running
multicast]

If in Java I call getInetAddresses on a java.net.NetworkInterface, I
only get the inet4 address.

As I'd expect from the above, I cannot connect via any Java APIs to
another link local IPv6 host on the same wifi lan

Depending on my approach I get "socket level is invalid", a bad socket
options error, host unreachable, or timeouts. Has anyone seen this
work or have any insight?

thanks
M.

--



Other Threads

1. File Downloads in Android Web Browser

For a little while now, I've been trying to figure out why I couldn't
download video files from the website i'm working with the Android OS
web browser, although I have found a work-around solution.  For some
reason, it seems as if the Android web browser (default OS web
browser) does not properly handle the "Content-Disposition:
attachment;" header from the webserver (in this case, Lighttpd).  When
attempting to download a file, all I was seeing with both HTC Dream
and HTC Magic (most recent OS version) was that it attempted to
download the file, but it couldn't detect the file name and the file
had no content.  Now after looking through the HTTP 1.1 RFC
documentation, I've noticed that they state that the "Content-
Disposition" directive is not part of the HTTP standard (Section 15.5
of RFC2616).

I thought that this issue was possibly due to the fact that no
attachment file name was being specified, but then I came across
another section in the Hypertext Transfer Protocol specification
(RFC2616) that states the following:

"RFC 1945 and RFC 2068 document protocol elements used by some
existing HTTP implementations, but not consistently and correctly
across most HTTP/1.1 applications. Implementors are advised to be
   aware of these features, but cannot rely upon their presence in, or
interoperability with, other HTTP/1.1 applications. Some of these
describe proposed experimental features, and some describe features
that experimental deployment found lacking that are now addressed in
the base HTTP/1.1 specification." (Section 19.5 RFC 2616)  As the
grammar for that directive shows (Section 19.5.1), there can be 0 or
more disposition parameters after the "Content-Disposition:
attachment" directive.  So basically, to remedy this issue, i've had
the "Content-Disposition: attachment" directive removed from the web
server, but what I'd really like to know is if this could possibly be
a bug with the Android web browser or if it's something the developers
purposely did because that directive is not officially part of the
HTTP standard?

If anyone could give me an answer on that, it would be greatly
appreciated!  Also, if I am getting any facts mixed up or if there is
something else i'm unaware of, please let me know.

Thanks

Al

--~--~---------~--~----~------------~-------~--~----~

2. how to add ImageButtons to the List elements

Hi,I have one
 List  and i want to add some  Buttons to specific list items.
like
              list items
-------------------------------------------
-------------------------------------------
-------------------------------------------

              listItem1
--------------------------------------
              listitem2
-----------------------------------
              listitem2
--------------------------------




these 3 are list items
and i want add some image buttons to listitem2

like
------------------------------------------------------------
                        listitem2
                   imageBiutton1     imagebutton2    imagebutton3

-------------------------------------------------------------------


so is it possible first?
if so any body can help me pls


Tx and Regards

Murali dhuli

-- 

3. Google Maps - Traffic View

4. Tanpa unlimited card was Kepikiran

5. Fail to create a new file on a sdcard

6. Paging android user @ kelapa gading

7. accessing email ,location and other information from contacts