Ruby: rb_addrinfo_t Struct Reference

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

Data Fields
rb_addrinfo_t Struct Reference

## Data Fields
VALUE | inspectname
VALUE | canonname
int | pfamily
int | socktype
int | protocol
socklen_t | sockaddr_len
union_sockaddr | addr

## Detailed Description

Definition at line 717 of file raddrinfo.c.

## Field Documentation

## ◆ addr

union_sockaddr rb_addrinfo_t::addr

Definition at line 724 of file raddrinfo.c.

## ◆ canonname

VALUE rb_addrinfo_t::canonname

Definition at line 719 of file raddrinfo.c.

## ◆ inspectname

VALUE rb_addrinfo_t::inspectname

Definition at line 718 of file raddrinfo.c.

## ◆ pfamily

int rb_addrinfo_t::pfamily

Definition at line 720 of file raddrinfo.c.

## ◆ protocol

int rb_addrinfo_t::protocol

Definition at line 722 of file raddrinfo.c.

## ◆ sockaddr_len

socklen_t rb_addrinfo_t::sockaddr_len

Definition at line 723 of file raddrinfo.c.

## ◆ socktype

int rb_addrinfo_t::socktype

Definition at line 721 of file raddrinfo.c.

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

- ext/socket/raddrinfo.c