---
title: CFNetworkErrors.cfsocks5ErrorBadState
framework: cfnetwork
role: symbol
role_heading: Case
path: cfnetwork/cfnetworkerrors/cfsocks5errorbadstate
---

# CFNetworkErrors.cfsocks5ErrorBadState

The stream isn’t in a state that allows the requested operation.

## Declaration

```swift
case cfsocks5ErrorBadState
```

## See Also

### Constants

- [CFNetworkErrors.cfHostErrorHostNotFound](cfnetwork/cfnetworkerrors/cfhosterrorhostnotfound.md)
- [CFNetworkErrors.cfHostErrorUnknown](cfnetwork/cfnetworkerrors/cfhosterrorunknown.md)
- [CFNetworkErrors.cfsocksErrorUnknownClientVersion](cfnetwork/cfnetworkerrors/cfsockserrorunknownclientversion.md)
- [CFNetworkErrors.cfsocksErrorUnsupportedServerVersion](cfnetwork/cfnetworkerrors/cfsockserrorunsupportedserverversion.md)
- [CFNetworkErrors.cfsocks4ErrorRequestFailed](cfnetwork/cfnetworkerrors/cfsocks4errorrequestfailed.md)
- [CFNetworkErrors.cfsocks4ErrorIdentdFailed](cfnetwork/cfnetworkerrors/cfsocks4erroridentdfailed.md)
- [CFNetworkErrors.cfsocks4ErrorIdConflict](cfnetwork/cfnetworkerrors/cfsocks4erroridconflict.md)
- [CFNetworkErrors.cfsocks4ErrorUnknownStatusCode](cfnetwork/cfnetworkerrors/cfsocks4errorunknownstatuscode.md)
- [CFNetworkErrors.cfsocks5ErrorBadResponseAddr](cfnetwork/cfnetworkerrors/cfsocks5errorbadresponseaddr.md)
- [CFNetworkErrors.cfsocks5ErrorBadCredentials](cfnetwork/cfnetworkerrors/cfsocks5errorbadcredentials.md)
- [CFNetworkErrors.cfsocks5ErrorUnsupportedNegotiationMethod](cfnetwork/cfnetworkerrors/cfsocks5errorunsupportednegotiationmethod.md)
- [CFNetworkErrors.cfsocks5ErrorNoAcceptableMethod](cfnetwork/cfnetworkerrors/cfsocks5errornoacceptablemethod.md)
- [CFNetworkErrors.cfftpErrorUnexpectedStatusCode](cfnetwork/cfnetworkerrors/cfftperrorunexpectedstatuscode.md)
- [CFNetworkErrors.cfErrorHTTPAuthenticationTypeUnsupported](cfnetwork/cfnetworkerrors/cferrorhttpauthenticationtypeunsupported.md)
- [CFNetworkErrors.cfErrorHTTPBadCredentials](cfnetwork/cfnetworkerrors/cferrorhttpbadcredentials.md)
