---
title: Pong Response
description: "Play 0x3E, server → client."
---

`play` · `0x3E` · **clientbound** (server → client)

Answers a serverbound PingRequest in the play state by echoing the long `id` (usually a timestamp). The client uses the round trip time to measure latency. This is separate from the Ping/Pong pair used for packet ordering.

Sent by the server, read by the client. Listen for it with `client.on("PongResponse", (data) => …)` on the receiving side.

## Fields

| Field | Type | Notes |
|---|---|---|
| `id` | Long |  |

## Send it

```ts
await client.sendPacket("PongResponse", {
  id: /* Long */,
});
```

Field aliases listed under Notes are accepted as alternative keys when writing.

Source: [`src/Core/Versions/776/Packets/play/clientbound/PongResponse.ts`](https://github.com/GDLev/mc-protocol/blob/master/src/Core/Versions/776/Packets/play/clientbound/PongResponse.ts)
