Ruby: rb_addrinfo Struct Reference

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

Data Fields
rb_addrinfo Struct Reference

`#include <rubysocket.h>`

## Data Fields
struct addrinfo * | ai
int | allocated_by_malloc

## Detailed Description

Definition at line 312 of file rubysocket.h.

## Field Documentation

## ◆ ai

struct addrinfo* rb_addrinfo::ai

Definition at line 313 of file rubysocket.h.

Referenced by rb_freeaddrinfo(), and rb_getaddrinfo().

## ◆ allocated_by_malloc

int rb_addrinfo::allocated_by_malloc

Definition at line 314 of file rubysocket.h.

Referenced by rb_getaddrinfo().

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

- ext/socket/rubysocket.h