I got it wrong...OSNetworkSystem.java has a native implementation. But When it tries to create a socket for datagram socket in the native method its throwing an exception
thanks sumanth On Mon, Jan 19, 2009 at 7:04 PM, sumanth sarangapani <[email protected]>wrote: > In addition to the below mentioned observation, i tried to use > MulticastSocket.java but it gave me an exception. When i debugged more, i > found out that OSNetworkSytem.java doesnt have native implementation. > > thanks > sumanth > > On Mon, Jan 19, 2009 at 5:47 PM, sumanth sarangapani > <[email protected]>wrote: > >> Hi All, >> >> I am trying to test the multicast socket in Android. Has anyone been able >> to open a multicast socket in andoid application. >> >> During this investigation i found out couple of things >> >> >> 1. There is a MulticastSocket.Java which extends DatagramSocket.Java. >> Can this be used? >> 2. There is a PlainDatagramSocketImp.Java which extends >> DatagramSocketImpl.java. This is in turn used when we CreateSocket for >> DatagramSocket. But we cannot import PlainDatagramSocketImpl in android >> app. Also there is a function to set the DatagramSocketImpl in >> DatagramSocket.java which has never been used. >> >> Can someone throw some light on this? >> >> Thanks in advance >> sumanth >> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~----------~----~----~----~------~----~------~--~---
