Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSNetServiceMBS class.
NSNetServiceMBS.NSNetServiceListenForConnections = 2
Type | Topic | Plugin | Version |
const | Cocoa Networking | MBS MacFrameworks Plugin | 21.1 |
Specifies that a TCP listener should be started for both IPv4 and IPv6 on the port specified by this service. If the listening port can't be opened, the service calls its didNotPublish event to report the error.
The listener supports only TCP connections. If the service’s type does not end with _tcp, publication fails with NSNetServicesBadArgumentError.
Whenever a client connects to the listening socket, the service calls its didAcceptConnection event with a pair of NSStream objects.
NSNetServiceMBS.NSNetServiceNoAutoRename = 1
Type | Topic | Plugin | Version |
const | Cocoa Networking | MBS MacFrameworks Plugin | 21.1 |
Specifies that the network service should not rename itself in the event of a name collision.
NSNetServiceMBS.NSNetServicesActivityInProgress = -72003
Type | Topic | Plugin | Version |
const | Cocoa Networking | MBS MacFrameworks Plugin | 21.1 |
The net service cannot process the request at this time. No additional information about the network state is known.
NSNetServiceMBS.NSNetServicesBadArgumentError = -72004
Type | Topic | Plugin | Version |
const | Cocoa Networking | MBS MacFrameworks Plugin | 21.1 |
An invalid argument was used when creating the NSNetService object.
NSNetServiceMBS.NSNetServicesCancelledError = -72005
Type | Topic | Plugin | Version |
const | Cocoa Networking | MBS MacFrameworks Plugin | 21.1 |
The client canceled the action.
NSNetServiceMBS.NSNetServicesCollisionError = -72001
Type | Topic | Plugin | Version |
const | Cocoa Networking | MBS MacFrameworks Plugin | 21.1 |
The service could not be published because the name is already in use. The name could be in use locally or on another system.
NSNetServiceMBS.NSNetServicesInvalidError = -72006
Type | Topic | Plugin | Version |
const | Cocoa Networking | MBS MacFrameworks Plugin | 21.1 |
The net service was improperly configured.
NSNetServiceMBS.NSNetServicesMissingRequiredConfigurationError = -72008
Type | Topic | Plugin | Version |
const | Cocoa Networking | MBS MacFrameworks Plugin | 21.1 |
Missing required configuration error.
NSNetServiceMBS.NSNetServicesNotFoundError = -72002
Type | Topic | Plugin | Version |
const | Cocoa Networking | MBS MacFrameworks Plugin | 21.1 |
The service could not be found on the network.
NSNetServiceMBS.NSNetServicesTimeoutError = -72007
Type | Topic | Plugin | Version |
const | Cocoa Networking | MBS MacFrameworks Plugin | 21.1 |
The net service has timed out.
NSNetServiceMBS.NSNetServicesUnknownError = -72000
Type | Topic | Plugin | Version |
const | Cocoa Networking | MBS MacFrameworks Plugin | 21.1 |
An unknown error occurred.
The items on this page are in the following plugins: MBS MacFrameworks Plugin.