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

# socklen_t

## Declaration

```occ
typedef __darwin_socklen_t socklen_t;
```
