---
title: "nw_proxy_config_create_socksv5(_:)"
framework: network
role: symbol
role_heading: Function
path: "network/nw_proxy_config_create_socksv5(_:)"
---

# nw_proxy_config_create_socksv5(_:)

Initializes a SOCKSv5 proxy configuration.

## Declaration

```swift
func nw_proxy_config_create_socksv5(_ proxy_endpoint: nw_endpoint_t) -> nw_proxy_config_t
```

## Parameters

- `proxy_endpoint`: A host endpoint identifying the SOCKS proxy server.

## Return Value

Return Value An initialized proxy configuration object.

## See Also

### Creating Proxy Configurations

- [nw_proxy_config_create_relay(_:_:)](network/nw_proxy_config_create_relay(_:_:).md)
- [nw_relay_hop_t](network/nw_relay_hop_t.md)
- [nw_proxy_config_create_oblivious_http(_:_:_:_:)](network/nw_proxy_config_create_oblivious_http(_:_:_:_:).md)
- [nw_proxy_config_create_http_connect(_:_:)](network/nw_proxy_config_create_http_connect(_:_:).md)
