Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSNetServiceMBS class.
NSNetServiceMBS.NSNetServiceListenForConnections = 2
Function:
One of the NetService options.
Notes:
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.
Type | Topic | Plugin | Version |
const | Cocoa Networking | MBS MacFrameworks Plugin | 21.1 |
Notes:
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
Function:
One of the NetService options.
Notes: Specifies that the network service should not rename itself in the event of a name collision.
Type | Topic | Plugin | Version |
const | Cocoa Networking | MBS MacFrameworks Plugin | 21.1 |
Notes: Specifies that the network service should not rename itself in the event of a name collision.
NSNetServiceMBS.NSNetServicesActivityInProgress = -72003
Function:
One of the error codes.
Notes: The net service cannot process the request at this time. No additional information about the network state is known.
Type | Topic | Plugin | Version |
const | Cocoa Networking | MBS MacFrameworks Plugin | 21.1 |
Notes: The net service cannot process the request at this time. No additional information about the network state is known.
NSNetServiceMBS.NSNetServicesBadArgumentError = -72004
Function:
One of the error codes.
Notes: An invalid argument was used when creating the NSNetService object.
Type | Topic | Plugin | Version |
const | Cocoa Networking | MBS MacFrameworks Plugin | 21.1 |
Notes: An invalid argument was used when creating the NSNetService object.
NSNetServiceMBS.NSNetServicesCancelledError = -72005
Function:
One of the error codes.
Notes: The client canceled the action.
Type | Topic | Plugin | Version |
const | Cocoa Networking | MBS MacFrameworks Plugin | 21.1 |
Notes: The client canceled the action.
NSNetServiceMBS.NSNetServicesCollisionError = -72001
Function:
One of the error codes.
Notes: The service could not be published because the name is already in use. The name could be in use locally or on another system.
Type | Topic | Plugin | Version |
const | Cocoa Networking | MBS MacFrameworks Plugin | 21.1 |
Notes: 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
Function:
One of the error codes.
Notes: The net service was improperly configured.
Type | Topic | Plugin | Version |
const | Cocoa Networking | MBS MacFrameworks Plugin | 21.1 |
Notes: The net service was improperly configured.
NSNetServiceMBS.NSNetServicesMissingRequiredConfigurationError = -72008
Function:
One of the error codes.
Notes: Missing required configuration error.
Type | Topic | Plugin | Version |
const | Cocoa Networking | MBS MacFrameworks Plugin | 21.1 |
Notes: Missing required configuration error.
NSNetServiceMBS.NSNetServicesNotFoundError = -72002
Function:
One of the error codes.
Notes: The service could not be found on the network.
Type | Topic | Plugin | Version |
const | Cocoa Networking | MBS MacFrameworks Plugin | 21.1 |
Notes: The service could not be found on the network.
NSNetServiceMBS.NSNetServicesTimeoutError = -72007
Function:
One of the error codes.
Notes: The net service has timed out.
Type | Topic | Plugin | Version |
const | Cocoa Networking | MBS MacFrameworks Plugin | 21.1 |
Notes: The net service has timed out.
NSNetServiceMBS.NSNetServicesUnknownError = -72000
Function:
One of the error codes.
Notes: An unknown error occurred.
Type | Topic | Plugin | Version |
const | Cocoa Networking | MBS MacFrameworks Plugin | 21.1 |
Notes: An unknown error occurred.
The items on this page are in the following plugins: MBS MacFrameworks Plugin.
