Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)
|
#include "rubysocket.h"
Go to the source code of this file.
Macros | |
#define | bsock_getpeereid rb_f_notimplement |
Functions | |
VALUE | rsock_bsock_send (int argc, VALUE *argv, VALUE sock) |
void | rsock_init_basicsocket (void) |
#define bsock_getpeereid rb_f_notimplement |
Definition at line 453 of file basicsocket.c.
Definition at line 540 of file basicsocket.c.
References argc, argv, BLOCKING_REGION_FD, rsock_send_arg::fd, rb_io_t::fd, rsock_send_arg::flags, GetOpenFile, rsock_send_arg::mesg, NIL_P, NUM2INT, rb_io_wait_writable(), rb_scan_args(), rb_str_new4, rb_sys_fail(), rsock_maybe_fd_writable, rsock_send_blocking(), rsock_sendto_blocking(), RSTRING_PTR, RSTRING_SOCKLEN, SockAddrStringValue, SSIZET2NUM, StringValue, rsock_send_arg::to, and rsock_send_arg::tolen.
Referenced by rsock_init_basicsocket().
void rsock_init_basicsocket | ( | void | ) |
Definition at line 704 of file basicsocket.c.
References bsock_getpeereid, rb_cBasicSocket, rb_cIO, rb_define_class(), rb_define_method, rb_define_private_method, rb_define_singleton_method, rb_undef_method(), rsock_bsock_recvmsg, rsock_bsock_recvmsg_nonblock, rsock_bsock_send(), rsock_bsock_sendmsg, rsock_bsock_sendmsg_nonblock, rsock_read_nonblock(), and rsock_write_nonblock().
Referenced by Init_socket().