portRangeTo (property)
Specifies the upper limit of the listening port range for incoming connections.
Syntax
@property (nonatomic,readwrite,assign,getter=portRangeTo,setter=setPortRangeTo:) int portRangeTo; - (int)portRangeTo; - (void)setPortRangeTo:(int)newPortRangeTo;
public var portRangeTo: Int32 { get {...}
set {...} }
Default Value
0
Remarks
Use this property to specify the upper limit of the port range to listen to connections on. When a port range is used to specify the listening port (as opposed to a fixed value provided via Port), the port will be allocated within the requested range by the operating system, and reported in BoundPort.