---
title: "Ice.TCP.*"
url: https://docs.zeroc.com/ice/3.8/property-reference/ice-tcp-properties
language: java
docs_index: https://docs.zeroc.com/llms.txt
---

> For an index of every page, see [llms.txt](https://docs.zeroc.com/llms.txt).

# Ice.TCP.\*

Programming language: Java. Other languages: [C++](https://docs.zeroc.com/ice/3.8/property-reference/ice-tcp-properties/cpp.md), [C#](https://docs.zeroc.com/ice/3.8/property-reference/ice-tcp-properties/csharp.md), [JavaScript](https://docs.zeroc.com/ice/3.8/property-reference/ice-tcp-properties/js.md), [MATLAB](https://docs.zeroc.com/ice/3.8/property-reference/ice-tcp-properties/matlab.md), [PHP](https://docs.zeroc.com/ice/3.8/property-reference/ice-tcp-properties/php.md), [Python](https://docs.zeroc.com/ice/3.8/property-reference/ice-tcp-properties/python.md), [Ruby](https://docs.zeroc.com/ice/3.8/property-reference/ice-tcp-properties/ruby.md), [Swift](https://docs.zeroc.com/ice/3.8/property-reference/ice-tcp-properties/swift.md).

## Ice.TCP.Backlog

`Ice.TCP.Backlog=num`

Specifies the size of the listen queue for each TCP-based server endpoint (`tcp`, `ssl`, `ws`, or `wss`). The default value is `511`.

## Ice.TCP.RcvSize

`Ice.TCP.RcvSize=num`

Sets the TCP receive buffer size in bytes for `tcp`, `ssl`, `ws`, and `wss` connections. The default value is `131072` (128 KiB) on Windows and `0` on other platforms. A value of `0` or less leaves the operating system's buffer size unchanged.

The OS may impose lower and upper limits on the receive buffer size or otherwise adjust the buffer size. If a limit is requested that is lower than the OS-imposed minimum, the value is silently adjusted to the OS-imposed minimum. If a limit is requested that is larger than the OS-imposed maximum, the value is adjusted to the OS-imposed maximum; in addition, Ice logs a warning showing the requested size and the adjusted size.

## Ice.TCP.SndSize

`Ice.TCP.SndSize=num`

Sets the TCP send buffer size in bytes for `tcp`, `ssl`, `ws`, and `wss` connections. The default value is `131072` (128 KiB) on Windows and `0` on other platforms. A value of `0` or less leaves the operating system's buffer size unchanged.

The OS may impose lower and upper limits on the send buffer size or otherwise adjust the buffer size. If a limit is requested that is lower than the OS-imposed minimum, the value is silently adjusted to the OS-imposed minimum. If a limit is requested that is larger than the OS-imposed maximum, the value is adjusted to the OS-imposed maximum; in addition, Ice logs a warning showing the requested size and the adjusted size.
