Ruby: union_sockaddr Union Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Data Fields
union_sockaddr Union Reference

`#include <rubysocket.h>`

## Data Fields
struct sockaddr | addr
struct sockaddr_in | in
struct sockaddr_storage | storage
char | place_holder [2048]

## Detailed Description

Definition at line 217 of file rubysocket.h.

## Field Documentation

## ◆ addr

struct sockaddr union_sockaddr::addr

Definition at line 218 of file rubysocket.h.

Referenced by rsock_getfamily(), rsock_inspect_sockaddr(), and rsock_s_recvfrom().

## ◆ in

struct sockaddr_in union_sockaddr::in

Definition at line 219 of file rubysocket.h.

Referenced by rsock_inspect_sockaddr().

## ◆ place_holder

char union_sockaddr::place_holder[2048]

Definition at line 230 of file rubysocket.h.

## ◆ storage

struct sockaddr_storage union_sockaddr::storage

Definition at line 229 of file rubysocket.h.

The documentation for this union was generated from the following file:

- ext/socket/rubysocket.h