SCNetworkConnectionScheduleWithRunLoop(_:_:_:)
Schedules the specified connection with the specified run loop.
Declaration
func SCNetworkConnectionScheduleWithRunLoop(_ connection: SCNetworkConnection, _ runLoop: CFRunLoop, _ runLoopMode: CFString) -> BoolParameters
- connection:
The network connection to schedule.
- runLoop:
The run loop with which to schedule the network connection.
- runLoopMode:
The run loop mode.
Return Value
TRUE if the connection is scheduled successfully; FALSE (use the SCError() function to retrieve the specific error).