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 |
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 |
(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 |
(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 |
(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 |
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 |
(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 |
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 |
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 |
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 |
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 |
(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 |
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.