Dear all,
About the getenv(), i tried to rewrite based on a open code (in ruby
language ).
I pass almost warning. But they still exist a warning in:
1) in file ares_fds.c.
line FD_SET(server->udp_socket, read_fds);
FD_SET(server->tcp_socket, read_fds);
FD_SET(server->tcp_socket, write_fds);
warning is "......\ares\ares_fds.c(37) : warning C4018: '==' :
signed/unsigned mismatch"
2) in file ares_process,
line FD_CLR(server->udp_socket, read_fds);
warning is ".....\ares\ares_process.c(300) : warning C4018: '==' :
signed/unsigned mismatch "
I tried to lose the warning; and then after built successfully
areswince.lib, i tested with example
ahost (like in open source code ). I met the error in ares_init cos status
!=0,( error come from
code in the end )
what should i changed in soure code?
what do you thinnk about it?
julien
status = ares_init(&channel);
if (status !=0)
{
//fprintf(stderr, "ares_init: %s\n", ares_strerror(status));
//return 1;
MessageBox(_T("ares_strerror"),_T("ares_strerror"),MB_OK);
}
_______________________________________________
http://cool.haxx.se/mailman/listinfo/c-ares
Received on Thu Apr 28 12:34:26 2005