Global Variable

kCFSocketCloseOnInvalidate

When enabled using CFSocketSetSocketFlags(_:_:), the native socket associated with a CFSocket object is closed when the CFSocket object is invalidated. When disabled, the native socket remains open. This option is enabled by default.

Declaration

var kCFSocketCloseOnInvalidate: CFOptionFlags { get }