---
title: client.socket.tcpi_data_segs_out
summary: null
url: >-
  https://www.fastly.com/documentation/reference/vcl/variables/client-connection/client-socket-tcpi-data-segs-out
---

**Type:** INTEGER  
**Access:** read-only

**Available in:** recv, deliver, log, error

The number of packets sent to the client on this connection with a
positive data length (e.g., pure control packets do not count). This
includes packets containing retransmissions.

Unlike `client.socket.tcpi_segs_out`, `client.socket.tcpi_data_segs_out` excludes segments carrying no data (e.g., pure ACK).
