I'm also having trouble getting a FileDescriptor from a DatagramSocket. You can make a java socket and get a ParcelFileDescriptor using fromSocket, but there doesn't seem to be any way to do this using DatagramSockets. If anyone has a way, it would be great to know.
On Aug 6, 9:56 pm, Mark Spencer <[email protected]> wrote: > So how can you get a FileDescriptor from a DatagramSocket (or even a > Socket for that matter)? I notice there is a DatagramSocketImpl > function which has a protected class for getFileDescriptor() but how > do I extend the standard one to expose that somehow? Is there > another way? > > Mark --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" 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-developers?hl=en -~----------~----~----~----~------~----~------~--~---

