[reSIProcate] the role of ares for resiprocate

Scott Godin slgodin at icescape.com
Tue Apr 26 16:36:06 CDT 2005


That's fine - this code is only for determining the location of the hosts
file on windows.  The hosts file is only used a backup to DNS queries.  

 

  _____  

From: julien thai [mailto:julienresiprocate at gmail.com] 
Sent: Tuesday, April 26, 2005 2:25 PM
To: resiprocate-devel at list.sipfoundry.org
Subject: [reSIProcate] the role of ares for resiprocate

 

 

Dear Experts,

 

I decided to change the code of ares to pass some errors in wince.

then in ares_init.h, i changed the code like below. It means that

it doesn't use some code.

 

If i do like that,i don't know if  it will make something change in 

resiprocate later?

 

Can you explain me anything?

 

  #ifdef WIN32
+#ifndef _WIN32_WCE
     HKEY hKey;  
     char hostpath[256];
     if(RegOpenKeyEx(HKEY_LOCAL_MACHINE,
"SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters", 0,
KEY_QUERY_VALUE, 

     &hKey) == ERROR_SUCCESS) 
       }
   }
#endif

 

Julien

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20050426/02b9f8bf/attachment.htm>


More information about the resiprocate-devel mailing list