For accessing a private member you'd have to use Reflection.
Can't help you on the first point though I'm afraid.

On Jul 23, 4:39 pm, Alexandre Ferrieux <[email protected]>
wrote:
> Hi,
>
> The documentation for FileDescriptor says it is "The lowest-level
> representation of a file, device, or socket".
> I see that some classes like FileOutputStream and LocalSocket expose a
> getFD(), but Socket doesn't.
>
> How do you get at a true (INET) socket's fd ?
>
> Alternatively, how do you get at the (private) SocketImpl member of
> Socket named "impl" (this one exposes the fd) ?
>
> TIA,
>
> -Alex

-- 
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

Reply via email to