Ruby: inetsock_arg Struct Reference

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

Data Fields
inetsock_arg Struct Reference

## Data Fields
VALUE | sock
struct {
VALUE host
VALUE serv
struct rb_addrinfo * res
} | remote
struct {
VALUE host
VALUE serv
struct rb_addrinfo * res
} | local
int | type
int | fd
VALUE | resolv_timeout
VALUE | connect_timeout

## Detailed Description

Definition at line 13 of file ipsocket.c.

## Field Documentation

## ◆ connect_timeout

VALUE inetsock_arg::connect_timeout

Definition at line 23 of file ipsocket.c.

Referenced by rsock_init_inetsock().

## ◆ fd

int inetsock_arg::fd

Definition at line 21 of file ipsocket.c.

Referenced by rsock_init_inetsock().

## ◆ host

VALUE inetsock_arg::host

Definition at line 17 of file ipsocket.c.

Referenced by rsock_init_inetsock().

## ◆

struct { ... } inetsock_arg::local

Referenced by rsock_init_inetsock().

## ◆

struct { ... } inetsock_arg::remote

Referenced by rsock_init_inetsock().

## ◆ res

struct rb_addrinfo* inetsock_arg::res

Definition at line 18 of file ipsocket.c.

Referenced by rsock_init_inetsock().

## ◆ resolv_timeout

VALUE inetsock_arg::resolv_timeout

Definition at line 22 of file ipsocket.c.

Referenced by rsock_init_inetsock().

## ◆ serv

VALUE inetsock_arg::serv

Definition at line 17 of file ipsocket.c.

Referenced by rsock_init_inetsock().

## ◆ sock

VALUE inetsock_arg::sock

Definition at line 15 of file ipsocket.c.

Referenced by rsock_init_inetsock().

## ◆ type

int inetsock_arg::type

Definition at line 20 of file ipsocket.c.

Referenced by rsock_init_inetsock().

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

- ext/socket/ipsocket.c