---
title: client.socket.tcpi_last_data_sent
summary: null
url: >-
  https://www.fastly.com/documentation/reference/vcl/variables/client-connection/client-socket-tcpi-last-data-sent
---

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

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

The number of milliseconds between now and the last time data was transmitted to
the client on the current connection. Both new data and retransmitted
data are counted. This includes any data framed by the TCP layer such
as TLS, HTTP framing, or HTTP message bodies, but it does not include
TCP packets that carry only meta information (e.g., pure ACK packets).
