Checks whether a metadata object contains TCP connection state.
SDKs
- iOS 12.0+
- macOS 10.14+
- Mac Catalyst 13.0+
- tvOS 12.0+
- watchOS 5.0+
Framework
- Network
Declaration
bool nw_protocol_metadata_is_tcp(nw _protocol _metadata _t metadata);
Checks whether a metadata object contains TCP connection state.
SDKs
Framework
bool nw_protocol_metadata_is_tcp(nw _protocol _metadata _t metadata);
nw _tcp _get _available _send _buffer
Accesses the number of available bytes in the TCP send buffer.
nw _tcp _get _available _receive _buffer
Accesses the number of available bytes in the TCP receive buffer.