Wraps the DNSRequest class from NetServices to be synchronous, which is easier to use.
Dependents: TwitPicExample SPIVFDclock RPC_mbed_client QRSS_Rx ... more
Revision 1:3a3015287572, committed 2011-01-11
- Comitter:
- hlipka
- Date:
- Tue Jan 11 21:35:16 2011 +0000
- Parent:
- 0:83c60912e03f
- Child:
- 2:097d4993dd1e
- Commit message:
- fixed include handling
Changed in this revision
dnsresolve.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/dnsresolve.h Fri Jan 07 21:45:38 2011 +0000 +++ b/dnsresolve.h Tue Jan 11 21:35:16 2011 +0000 @@ -1,6 +1,9 @@ #ifndef __DNSRESOLVE_H__ #define __DNSRESOLVE_H__ +#include "Timer.h" +#include "wait_api.h" + #include "DNSRequest.h" class DNSResolver { @@ -24,7 +27,7 @@ return addr; } - Timer tmr; + mbed::Timer tmr; tmr.start(); while (0==_completed) { Net::poll();