Library: Zeroconf
Package: ZeroCore
Header: Poco/Zeroconf/ServiceError.h
Event Arguments for ServiceError
Member Functions: errorCode, networkInterface, serviceRef
ServiceError();
Creates an uninitialized ServiceError. Required for async events.
ServiceError(
DNSServiceRef sdRef,
Poco::Int32 iface,
Poco::Int32 errCode
);
Creates the ServiceError.
~ServiceError();
Destroys the ServiceError.
Poco::Int32 errorCode() const;
Returns the error code. use Utility::toString to convert it to string format
Poco::Int32 networkInterface() const;
Returns the network interface on which the error occurred
DNSServiceRef serviceRef() const;
The reference to the service.