<!--
{
  "availability" : [
    "macOS: 10.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SystemConfiguration",
  "identifier" : "/documentation/SystemConfiguration/SCNetworkConnectionGetStatus(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "System Configuration"
    ],
    "preciseIdentifier" : "c:@F@SCNetworkConnectionGetStatus"
  },
  "title" : "SCNetworkConnectionGetStatus(_:)"
}
-->

# SCNetworkConnectionGetStatus(_:)

Returns the status of the specified network connection.

```
func SCNetworkConnectionGetStatus(_ connection: SCNetworkConnection) -> SCNetworkConnectionStatus
```

## Parameters

`connection`

The network connection.

## Return Value

The status of the network connection. See [`SCNetworkConnectionStatus`](/documentation/SystemConfiguration/SCNetworkConnectionStatus) for a list of possible values.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)