The TROZeroConfRegistrationEngine class is used to register services in the ZeroConf environment. This class is used internally by the TROZeroConfRegistration class.

Please note that you should not use this class directly. The Making Your Services Discoverable article describes how to make your services discoverable.


Instance Methods

constructor Create

Creates a new instance with the provided parameters.

constructor Create(aOwner: TROZeroConfRegistration)


RegisterService  protected

Registers the service of type aServiceType in the domain aDomain with the name aServiceName. The method may call the owner's RegistrationFailed method if errors are detected.

procedure RegisterService(const aDomain: UnicodeString; const aServiceType: UnicodeString; const aServiceName: UnicodeString; const aPort: Integer; aTxtRecord: TBytes)


  • aDomain: Service domain name
  • aServiceType: Service type name
  • aServiceName: Server name
  • aPort: Port on which the service is available
  • aTxtRecord: Additional service information like channel, message type etc.

Stop  protected

Cancels all service registrations made via this instance.

procedure Stop