Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSNetServiceMBS class.

NSNetServiceMBS.Address as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacFrameworks Plugin 21.1 ✅ Yes ❌ No ❌ No ✅ Yes All
First address decoded.

Can be IPv4 or IPv6.
(Read only property)

NSNetServiceMBS.AddressIPv4 as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacFrameworks Plugin 21.1 ✅ Yes ❌ No ❌ No ✅ Yes All
First IPv4 address decoded.

(Read only property)

Some examples using this property:

NSNetServiceMBS.AddressIPv6 as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacFrameworks Plugin 21.1 ✅ Yes ❌ No ❌ No ✅ Yes All
First IPv6 address decoded.

(Read only property)

NSNetServiceMBS.description as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacFrameworks Plugin 21.1 ✅ Yes ❌ No ❌ No ✅ Yes All
The description string for debugging.

(Read only property)

NSNetServiceMBS.domain as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacFrameworks Plugin 21.1 ✅ Yes ❌ No ❌ No ✅ Yes All
A string containing the domain for this service.

This can be an explicit domain name or it can contain the generic local domain name, "local." (note the trailing period, which indicates an absolute name).

This property’s value is set when the object is first initialized, whether by your code or by a browser object. See Constructor for more information.
(Read only property)

NSNetServiceMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacFrameworks Plugin 21.1 ✅ Yes ❌ No ❌ No ✅ Yes All
The internal object reference.

(Read only property)

NSNetServiceMBS.hostName as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacFrameworks Plugin 21.1 ✅ Yes ❌ No ❌ No ✅ Yes All
A string containing the DNS hostname for this service.

This value is "" until the service has been resolved (when addresses is non-nil).
(Read only property)

NSNetServiceMBS.includesPeerToPeer as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacFrameworks Plugin 21.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Specifies whether to also publish, resolve, or monitor this service over peer-to-peer Bluetooth and Wi-Fi, if available.

False by default.

This property must be set before calling publish, resolve, or startMonitoring in order to take effect.
(Read and Write property)

NSNetServiceMBS.name as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacFrameworks Plugin 21.1 ✅ Yes ❌ No ❌ No ✅ Yes All
A string containing the name of this service.

This value is set when the object is first initialized, whether by your code or by a browser object.
See Constructor for more information.
(Read only property)

NSNetServiceMBS.port as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacFrameworks Plugin 21.1 ✅ Yes ❌ No ❌ No ✅ Yes All
The port on which the service is listening for connections.

If the object was initialized by calling Constructor (whether by your code or by a browser object), then the value was set when the object was first initialized.
If the object was initialized by calling Constructor without port, the value of this property is not valid (-1) until after the service has successfully been resolved (when addresses is non-nil).
(Read only property)

NSNetServiceMBS.TXTRecordData as MemoryBlock

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacFrameworks Plugin 21.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the TXT record for the receiver.

(Read only property)

NSNetServiceMBS.type as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacFrameworks Plugin 21.1 ✅ Yes ❌ No ❌ No ✅ Yes All
The type of the published service.

This value is set when the object is first initialized, whether by your code or by a browser object. See Constructor for more information.
(Read only property)

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


The biggest plugin in space...