---
title: NWTCPConnectionState.connected
framework: networkextension
role: symbol
role_heading: Case
path: networkextension/nwtcpconnectionstate/connected
---

# NWTCPConnectionState.connected

The connection is established. It is now possible to transfer data. If TLS is in use, the TLS handshake has finished.

## Declaration

```swift
case connected
```

## See Also

### Connection States

- [NWTCPConnectionState.invalid](networkextension/nwtcpconnectionstate/invalid.md)
- [NWTCPConnectionState.connecting](networkextension/nwtcpconnectionstate/connecting.md)
- [NWTCPConnectionState.waiting](networkextension/nwtcpconnectionstate/waiting.md)
- [NWTCPConnectionState.disconnected](networkextension/nwtcpconnectionstate/disconnected.md)
- [NWTCPConnectionState.cancelled](networkextension/nwtcpconnectionstate/cancelled.md)
