Platforms to show: All Mac Windows Linux Cross-Platform

Back to AvahiEntryGroupMBS class.

AvahiEntryGroupMBS.AddAddress(InterfaceIndex as integer, Protocol as integer, flags as Integer, name as string, Address as String)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Network MBS Linux Plugin 25.1 ❌ No ❌ No ✅ Yes ❌ No Desktop, Console & Web
Add a host/address pair.

AvahiEntryGroupMBS.AddRecord(InterfaceIndex as integer, Protocol as integer, flags as Integer, name as string, Clazz as Integer, Type as Integer, ttl as integer, Data as MemoryBlock)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Network MBS Linux Plugin 25.1 ❌ No ❌ No ✅ Yes ❌ No Desktop, Console & Web
Add an arbitrary record. I hope you know what you do.

AvahiEntryGroupMBS.AddService(InterfaceIndex as integer, Protocol as integer, flags as Integer, Name as string, type as String, Domain as String, Host as String, Port as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Network MBS Linux Plugin 25.1 ❌ No ❌ No ✅ Yes ❌ No Desktop, Console & Web
Add a service.

InterfaceIndex: The interface this service shall be announced on. We recommend to pass kInterfaceAny here, to announce on all interfaces.
Protocol: The protocol this service shall be announced with, i.e. MDNS over IPV4 or MDNS over IPV6. We recommend to pass kProtocolAny here, to announce this service on all protocols the daemon supports.
Flags: Usually 0, unless you know what you do.
Name: The name for the new service. Must be valid service name. i.e. a string shorter than 63 characters and valid UTF-8. May not be empty.
Type: The service type for the new service, such as _http._tcp. May not be empty.
Domain: The domain to register this domain in. We recommend to pass "" here, to let the daemon decide.
Host: The host this services is residing on. We recommend to pass "" here, the daemon will than automatically insert the local host name in that case.
Port: The IP port number of this service.

Please note that this service is not announced on the network before Commit is called.

AvahiEntryGroupMBS.AddServiceStrList(InterfaceIndex as integer, Protocol as integer, flags as Integer, Name as string, type as String, Domain as String, Host as String, Port as Integer, List() as String)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Network MBS Linux Plugin 25.1 ❌ No ❌ No ✅ Yes ❌ No Desktop, Console & Web
Add a service, takes an array for TXT records.

List: The TXT data for this service. You may free this object after calling this function, it is not referenced any further.

Arguments have the same meaning as for AddService().

AvahiEntryGroupMBS.AddServiceSubType(InterfaceIndex as integer, Protocol as integer, flags as Integer, Name as string, type as String, Domain as String, SubType as String)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Network MBS Linux Plugin 25.1 ❌ No ❌ No ✅ Yes ❌ No Desktop, Console & Web
Add a subtype for a service.

InterfaceIndex: The interface this service is announced on. This should match the value passed to the original AddService() call.
Protocol: The protocol this service is announced with. This should match the value passed to the original AddService() call.
flags: Only != 0 if you really know what you do.
Name: The name of the service, as passed to AddService(). Can't be empty.
Type: The type of the service, as passed to AddService(). Can't be empty.
Domain: The domain this service resides is, as passed to AddService(). Can't be empty.
SubType: The new subtype to register for the specified service. Can't be empty.

The service should already be existent in the entry group. You may add as many subtypes for a service as you wish.

AvahiEntryGroupMBS.Commit

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Network MBS Linux Plugin 25.1 ❌ No ❌ No ✅ Yes ❌ No Desktop, Console & Web
Commit an AvahiEntryGroup.

The entries in the entry group are now registered on the network.
Commiting empty entry groups is considered an error.

AvahiEntryGroupMBS.Constructor(client as AvahiClientMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Network MBS Linux Plugin 25.1 ❌ No ❌ No ✅ Yes ❌ No Desktop, Console & Web
The constructor.

AvahiEntryGroupMBS.Destructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Network MBS Linux Plugin 25.1 ❌ No ❌ No ✅ Yes ❌ No Desktop, Console & Web
The destructor.

AvahiEntryGroupMBS.Reset

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Network MBS Linux Plugin 25.1 ❌ No ❌ No ✅ Yes ❌ No Desktop, Console & Web
Reset an AvahiEntryGroup.

This takes effect immediately.

AvahiEntryGroupMBS.UpdateServiceStrList(InterfaceIndex as integer, Protocol as integer, flags as Integer, Name as string, type as String, Domain as String, List() as String)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Network MBS Linux Plugin 25.1 ❌ No ❌ No ✅ Yes ❌ No Desktop, Console & Web
Update a TXT record for an existing service.

InterfaceIndex: The interface this service is announced on. This should match the value passed to the original AddService() call.
Protocol: The protocol this service is announced with. This should match the value passed to the original AddService() call.
flags: Only != 0 if you really know what you do.
Name: The name of the service, as passed to AddService(). Can't be empty.
Type: The type of the service, as passed to AddService(). Can't be empty.
Domain: The domain this service resides is, as passed to AddService(). Can't be empty.

The service should already be existent in the entry group.

The items on this page are in the following plugins: MBS Linux Plugin.


The biggest plugin in space...