|
Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)
|
#include "rubysocket.h"Go to the source code of this file.
Data Structures | |
| struct | inetsock_arg |
Macros | |
| #define | return_norevlookup(x) {*norevlookup = (x); return 1;} |
Functions | |
| VALUE | rsock_init_inetsock (VALUE sock, VALUE remote_host, VALUE remote_serv, VALUE local_host, VALUE local_serv, int type, VALUE resolv_timeout, VALUE connect_timeout) |
| int | rsock_revlookup_flag (VALUE revlookup, int *norevlookup) |
| void | rsock_init_ipsocket (void) |
| #define return_norevlookup | ( | x | ) | {*norevlookup = (x); return 1;} |
| VALUE rsock_init_inetsock | ( | VALUE | sock, |
| VALUE | remote_host, | ||
| VALUE | remote_serv, | ||
| VALUE | local_host, | ||
| VALUE | local_serv, | ||
| int | type, | ||
| VALUE | resolv_timeout, | ||
| VALUE | connect_timeout | ||
| ) |
Definition at line 171 of file ipsocket.c.
References inetsock_arg::connect_timeout, inetsock_arg::fd, inetsock_arg::host, inetsock_arg::local, rb_ensure(), inetsock_arg::remote, inetsock_arg::res, inetsock_arg::resolv_timeout, inetsock_arg::serv, inetsock_arg::sock, and inetsock_arg::type.
| void rsock_init_ipsocket | ( | void | ) |
Definition at line 386 of file ipsocket.c.
References rb_cBasicSocket, rb_cIPSocket, rb_define_class(), rb_define_method, rb_define_singleton_method, and rb_undef_method().
Referenced by rsock_init_socket_init().
Definition at line 194 of file ipsocket.c.
References id, Qfalse, Qnil, Qtrue, rb_eArgError, rb_id2name(), rb_raise(), return_norevlookup, SYM2ID, and T_SYMBOL.