---
title: "Return UDP IPv6 sockets data"
method: GET
path: "/get_udp6_sockets"
tags: ["Server Administration", "Connections"]
---

# Return UDP IPv6 sockets data

`GET /get_udp6_sockets`

This function returns data about the system's user datagram protocol (UDP) IPv6 sockets.

**Important:**

  This function may perform slower on a CentOS 6 system with a large number of UDP sockets.

## Response `200`

HTTP Request was successful.

- object
  - `data` object
    - `payload` object[] — An array of objects that contains the status of the system's UDP IPv6 sockets.
      - `dport` integer — The source port that the Linux kernel reports for the socket.
      - `dst` string, ipv6 — The destination IPv6 address.
      - `inode` integer — The inode number the Linux kernel assigned to the socket.
      - `rqueue` integer — The number of bytes in the socket's read buffer.
      - `sport` integer — The source port number.
      - `src` string, ipv6 — The source IPv6 address.
      - `state` integer — The socket's current state, in the Linux kernel's numeric format.
      - `uid` integer — The socket's user ID (UID).
      - `wqueue` integer — The number of bytes that the system is waiting to send.
  - `metadata` object
    - `command` string — The method name called.
    - `reason` string — The reason the API function failed when the `metadata.result` field is `0`. This field may display a success message when a function succeeds.
    - `result` 0 | 1 — * `1` — Success * `0` — Failed. Check the `reason` field for more details.
    - `version` integer — The version of the API function.

---

[API](https://skmtc.net/cpanel/apis/whm-api.md) · [All operations](https://skmtc.net/cpanel/apis/whm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cpanel/whm-api/revisions/3da41671c02c/schema)
