---
title: kCFSocketAutomaticallyReenableWriteCallBack
framework: corefoundation
role: symbol
role_heading: Global Variable
path: corefoundation/kcfsocketautomaticallyreenablewritecallback
---

# kCFSocketAutomaticallyReenableWriteCallBack

## Declaration

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

## Discussion

Discussion When enabled using CFSocketSetSocketFlags(_:_:), the write callback is called every time more data can be written to the socket. When disabled, the write callback is called only the next time data can be written. The write callback is not automatically reenabled by default.

## See Also

### Constants

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