Instance Property

maximumNumberOfPeers

The maximum number of peers allowed in a session, including the local peer.

Declaration

var maximumNumberOfPeers: Int { get set }

Discussion

The largest allowable value (and the default) is 8.

See Also

Getting and Setting the Maximum and Minimum Number of Peers

var minimumNumberOfPeers: Int

The minimum number of peers that need to be in a session, including the local peer.