FAQ

[android-developers] Regarding Multicast issue on WifiDirect Interface

Praveen Thota
Jan 18, 2012 at 5:58 am
Hi All,
I am trying to send the multicast packet on the Wifi Direct interface on
ICS Platform.
The multicast socket joingroup api returns the ENODEV Exception, but the
same code works perfectly fine on the Wifi Interface.
I am able to successfully send and receive multicast packets over the Wifi
Interface.
The issue is only with the WIFI DIRECT Interface.
Please let me know if any one has any solution.

Thanks & Regards,
Praveen Thota.

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

01-11 16:13:16.859: W/System.err(7255): java.net.SocketException:
setsockopt failed: *ENODEV (No such device)*

01-11 16:13:16.859: W/System.err(7255): at
libcore.io.IoBridge.setSocketOption(IoBridge.java:303)

01-11 16:13:16.859: W/System.err(7255): at
java.net.PlainDatagramSocketImpl.setOption(PlainDatagramSocketImpl.java:186)

01-11 16:13:16.859: W/System.err(7255): at
java.net.PlainDatagramSocketImpl.join(PlainDatagramSocketImpl.java:126)

01-11 16:13:16.859: W/System.err(7255): at
java.net.MulticastSocket.joinGroup(MulticastSocket.java:149)

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
reply

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post

1 user in discussion

Praveen Thota: 1 post