---
title: SocketType enum | Wartiva GraphQL API
description: Type of network socket. Wartiva GraphQL API reference with arguments, fields, and examples. Browse related operations and types.
url: https://wartiva.com/api-docs/types/socket-type.html
updated: 2026-10-07
---

Endpoint configuration · GraphQL enum

# `SocketType` enum

Type of network socket.

## Values

| Enum Value | Description |
|---|---|
| `GENERIC` | Generic socket type when protocol is unknown or not mapped. |
| `TCP` | TCP stream sockets. |
| `UDP` | UDP datagram sockets. |
| `UNIX` | UNIX domain sockets for local IPC. |
| `NDRV` | Legacy macOS/iOS network driver sockets (NDRV) for kernel network interfaces. |
| `KERNEVENT` | macOS kernel event sockets (KERNEVENT) delivering system network events. |
| `KERNCTL` | macOS kernel control sockets (KERNCTL) for IOKit/BPF/NECP control planes. |
| `VSOCK` | VMware/Hypervisor VSOCK for host-guest communication over AF_VSOCK. |

## Used by

- [`OpenSocket`](https://wartiva.com/api-docs/types/open-socket.html) type: An open network socket on a process.

## Example

### Example

```json
"GENERIC"

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
