I'd be interested in that patch. I'd post it to the list for posterity's sake, but I leave that up to you.
You can send it to me directly as well. Thanks, Andy. > -----Original Message----- > From: Inca Rose [mailto:incar...@gmail.com] > Sent: Wednesday, March 25, 2009 12:09 PM > To: sofia-sip-devel Mailing List > Subject: [Sofia-sip-devel] DNS Resolving for iPhone > > 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 Confidentiality Notice: This e-mail message including attachments, if any, is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. If you are the intended recipient, but do not wish to receive communications through this medium, please so advise the sender immediately. ------------------------------------------------------------------------------ _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel