---
title: socket_t
framework: Kernel
role: symbol
role_heading: Type Alias
platforms: [macOS 10.0+]
path: kernel/socket_t
---

# socket_t

## Declaration

```occ
typedef struct __socket *socket_t;
```
