Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: SimpleSocketExamples 1.0
Resolver Class Reference
a simple DNS resolver More...
#include <SimpleSocket.h>
Public Member Functions | |
| Resolver () | |
| creates a Resolver object | |
| IpAddr | resolve (char *name, bool debug=false) |
| resolves the specified domain/host name and returns its IP address. | |
Detailed Description
a simple DNS resolver
Definition at line 465 of file SimpleSocket.h.
Constructor & Destructor Documentation
| Resolver | ( | ) |
creates a Resolver object
Definition at line 25 of file Resolver.cpp.
Member Function Documentation
| IpAddr resolve | ( | char * | name, |
| bool | debug = false |
||
| ) |
resolves the specified domain/host name and returns its IP address.
- Parameters:
-
name domain/host name to be resolved or IP address in "nnn.nnn.nnn.nnn" format debug true to display debugging information
- Returns:
- resolved IP address object
Definition at line 27 of file Resolver.cpp.
Generated on Sat Jul 23 2022 06:16:20 by
1.7.2