Hi;
I just wrote some code to make the reolver code  works on the iPhone.
The iPhone is missing a resolv.conf like file, but it has a plist files 
with all the information needed.
I wrote a patch ( much like the one for win32 ) to add the DNS servers 
to the system.
The patch is on the function
static sres_config_t *sres_parse_resolv_conf(sres_resolver_t *res,  char 
const **options)

and it just check for a define HAVE_IPHONE_OS, if the define is true it call
a function to fill in the name servers.

The patch includes an obj-c file laso to deal with Foundation classes.
I dont know how to submit the patch if anyone is interested.

So, I patch config.h for HAVE_IPHONE_OS
I patch the above function and add a new file ( an obj-c m file ) to 
deal with Foundation classes ( read and parse plist files ).


Regards
Inca R


------------------------------------------------------------------------------
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to