# SocketConnectionOptions Properties

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.networking.shared.socketconnectionoptions/)

## IOQueueCount {#ioqueuecount-cae8cb1c}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.networking.shared.socketconnectionoptions/properties/ioqueuecount-cae8cb1c/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core/Networking/Shared/SocketConnectionOptions.cs)

```csharp
public int IOQueueCount
```

The number of I/O queues used to process requests. Set to 0 to directly schedule I/O to the ThreadPool.

## KeepAlive {#keepalive-9848e145}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.networking.shared.socketconnectionoptions/properties/keepalive-9848e145/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core/Networking/Shared/SocketConnectionOptions.cs)

```csharp
public bool KeepAlive
```

Whether TCP KeepAlive is enabled or disabled.

## KeepAliveIntervalSeconds {#keepaliveintervalseconds-4827e68e}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.networking.shared.socketconnectionoptions/properties/keepaliveintervalseconds-4827e68e/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core/Networking/Shared/SocketConnectionOptions.cs)

```csharp
public int KeepAliveIntervalSeconds
```

The number of seconds between keep-alive packets when the remote endpoint is not responding.

## KeepAliveRetryCount {#keepaliveretrycount-0ea3b531}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.networking.shared.socketconnectionoptions/properties/keepaliveretrycount-0ea3b531/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core/Networking/Shared/SocketConnectionOptions.cs)

```csharp
public int KeepAliveRetryCount
```

The number of retry attempts for keep-alive packets before the connection is considered dead.

## KeepAliveTimeSeconds {#keepalivetimeseconds-ed15eede}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.networking.shared.socketconnectionoptions/properties/keepalivetimeseconds-ed15eede/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core/Networking/Shared/SocketConnectionOptions.cs)

```csharp
public int KeepAliveTimeSeconds
```

The number of seconds before the first keep-alive packet is sent on an idle connection.

## NoDelay {#nodelay-2c55f9e9}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.networking.shared.socketconnectionoptions/properties/nodelay-2c55f9e9/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core/Networking/Shared/SocketConnectionOptions.cs)

```csharp
public bool NoDelay
```

Whether the Nagle algorithm should be enabled or disabled.
