help in select of ppc 2003
"Nghiath" <[email protected]> Thu, 28 Apr 2005 21:19:12 +0200
| Newsgroups | gmane.comp.windows.ce.freeware |
|---|---|
| Message-ID | <[email protected]> |
I tried to test the example which i rebuilt for pocket pc 2003, i tried to querry the ip of www.yahoo.com. Buit i failed. After just 1000 times looked carefully. I found that select always reponses 0 ( cos i test with value of test1 ) test1 = select(nfds,&read_fds,&write_fds,NULL,tvp); ares_process(channel,&read_fds,&write_fds); It means that time limit expried and nothing happened. So in the end, i am using ethereal to capter the packet. I found that from emulator PPC 2003, the packet to querry send very well, and ethereal capter successful the response from DNS. Why the fonction select always make fd_count in &read_fds to 0. I don't understand, cos in win32, il always differ 0. What do you think? How should i do to test? I also try to write a client/ server in ppc 2003 and a program ping in ppc 2003, it runs successful, and brings to me the IP address of www.yahoo.com Your idea is very appreciated. Julien [Non-text portions of this message have been removed]