# UnixSocketConnectionExtensions Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.unixsockettransport.unixsocketconnectionextensions/)

## UseUnixSocketConnection(IClientBuilder) {#useunixsocketconnection-this-orleans-hosting-iclientbuilder-bcc71d38}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.unixsockettransport.unixsocketconnectionextensions/methods/useunixsocketconnection-this-orleans-hosting-iclientbuilder-bcc71d38/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.TestingHost/UnixSocketTransport/UnixSocketConnectionExtensions.cs#L27-L32)

```csharp
public static IClientBuilder UseUnixSocketConnection(this IClientBuilder clientBuilder)
```

### Parameters

- `clientBuilder` (`IClientBuilder`)

## UseUnixSocketConnection(ISiloBuilder) {#useunixsocketconnection-this-orleans-hosting-isilobuilder-9234624a}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.unixsockettransport.unixsocketconnectionextensions/methods/useunixsocketconnection-this-orleans-hosting-isilobuilder-9234624a/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.TestingHost/UnixSocketTransport/UnixSocketConnectionExtensions.cs#L15-L22)

```csharp
public static ISiloBuilder UseUnixSocketConnection(this ISiloBuilder siloBuilder)
```

### Parameters

- `siloBuilder` (`ISiloBuilder`)
