Socket address class used for inquiries.
Used to specify the inquiry request, and then filled with information about remote devices discovered through the inquiry process.
Use the BTAddr() method to extract the device address to connect to.
Note: Usage of RHostResolver class for Bluetooth protocol.
The RHostResolver class is a generic interface to host name resolution services, such as DNS, that may be provided by particular protocol modules.
The points to remember when using RHostResolver::GetByAddress(), RHostResolver::GetByName(), or RHostResolver::Next() with Bluetooth protocol are:
1) If you operate on one instance of RHostResolver you can perform only one request by calling either RHostResolver::GetByAddress() or RHostResolver::GetByName(). If these functions are called again and if there is more than one possible response for a given host name then that will be returned (The host resolving process will not start from the beginning). It is exactly as if the RHostResolve::Next() method was called.
2) In order to start resolving new hosts from the beginning using the same instance of RHostResolver, the instance must be closed and reopened again.
3) In order to perform several RHostResolver requests they should be issued on separate instances of RHostResolver (many RHostResolver instances might exist and perform requests at the same time).
4) The KHostResIgnoreCache flag is only valid when issuing RHostResolver::GetByAddress() or RHostResolver::GetByName() request for the first time.
5) As an RHostResolver is only intended to be used once, it is recommended that it be closed as soon as it is finished with as the semantics of Cancel merely indicates that one client server request should be cancelled.