NSNetServiceMBS constants

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSNetServiceMBS class.

NetService Options

NSNetServiceMBS.NSNetServiceListenForConnections = 2

Type Topic Plugin Version
const Cocoa Networking MBS MacFrameworks Plugin 21.1
One of the NetService options.

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
One of the NetService options.

Specifies that the network service should not rename itself in the event of a name collision.

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


💬 Ask a question or report a problem