|
VideoTools
|
A derivation of GNet::Request used for service (port) lookup requests. More...
#include <grequest.h>
Inheritance diagram for GNet::ServiceRequest:Public Member Functions | |
| ServiceRequest (std::string service_name, bool udp, HWND hwnd, unsigned msg) | |
| Constructor. | |
| Address | result () const |
| Returns the address with a zeroed host part. | |
Public Member Functions inherited from GNet::Request | |
| virtual | ~Request () |
| Virtual destructor. More... | |
| bool | valid () const |
| Returns true if the constructor initiated a request properly. More... | |
| std::string | reason () const |
| Returns the failure reason if valid() or onMessage() returned false. More... | |
| bool | onMessage (WPARAM wparam, LPARAM lparam) |
| To be called when the request has been completed. More... | |
Additional Inherited Members | |
Protected Types inherited from GNet::Request | |
| enum | { magic = 968 } |
Protected Member Functions inherited from GNet::Request | |
| Request (bool host) | |
| Constructor. More... | |
Protected Attributes inherited from GNet::Request | |
| int | m_magic |
| int | m_error |
| HANDLE | m_handle |
| char | m_buffer [MAXGETHOSTSTRUCT] |
| bool | m_host |
| bool | m_done |
| bool | m_numeric |
| GNet::Address | m_address |
A derivation of GNet::Request used for service (port) lookup requests.
Definition at line 110 of file grequest.h.