---
title: dataCallBack
framework: corefoundation
role: symbol
role_heading: Type Property
path: corefoundation/cfsocketcallbacktype/datacallback
---

# dataCallBack

Incoming data will be read in chunks in the background and the callback is called with the data argument being a CFData object containing the read data.

## Declaration

```swift
static var dataCallBack: CFSocketCallBackType { get }
```

## See Also

### Constants

- [readCallBack](corefoundation/cfsocketcallbacktype/readcallback.md)
- [acceptCallBack](corefoundation/cfsocketcallbacktype/acceptcallback.md)
- [connectCallBack](corefoundation/cfsocketcallbacktype/connectcallback.md)
- [writeCallBack](corefoundation/cfsocketcallbacktype/writecallback.md)
