---
title: kCFSocketAutomaticallyReenableReadCallBack
framework: corefoundation
role: symbol
role_heading: Global Variable
path: corefoundation/kcfsocketautomaticallyreenablereadcallback
---

# kCFSocketAutomaticallyReenableReadCallBack

## Declaration

```swift
var kCFSocketAutomaticallyReenableReadCallBack: CFOptionFlags { get }
```

## Discussion

Discussion When enabled using CFSocketSetSocketFlags(_:_:), the read callback is called every time the sockets has data to be read. When disabled, the read callback is called only once the next time data are available. The read callback is automatically reenabled by default.

## See Also

### Constants

- [kCFSocketAutomaticallyReenableAcceptCallBack](corefoundation/kcfsocketautomaticallyreenableacceptcallback.md)
- [kCFSocketAutomaticallyReenableDataCallBack](corefoundation/kcfsocketautomaticallyreenabledatacallback.md)
- [kCFSocketAutomaticallyReenableWriteCallBack](corefoundation/kcfsocketautomaticallyreenablewritecallback.md)
- [kCFSocketLeaveErrors](corefoundation/kcfsocketleaveerrors.md)
- [kCFSocketCloseOnInvalidate](corefoundation/kcfsocketcloseoninvalidate.md)
