Hi All, I'm facing strange problem in resolving remote hostname. I have an application which needs to resolve some remote hostname in order to connect to it, and If I start this application using execve() call, the application doesn't resolve hostname, gethostbyname() returns NULL. If I execute the application directly, it's able to resolve the host name but if it's executed using execve() call, it doesn't. Same approach is working fine on Linux machine but on Android platform it's not able to work.
On Linux: execve() -----> application() ------> Works app() -----> Works On Android: execve() -----> application() ------> Doesn't works -------> ??? app() -----> Works _______________________________________________________________________________ Could anybody please throw some light on the matter ? Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Discuss" 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-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
