Ruby
2.4.2p198(2017-09-14revision59899)
|
#include "rubysocket.h"
Go to the source code of this file.
Functions | |
static VALUE | tcp_svr_init (int argc, VALUE *argv, VALUE sock) |
static VALUE | tcp_accept (VALUE sock) |
static VALUE | tcp_accept_nonblock (VALUE sock, VALUE ex) |
static VALUE | tcp_sysaccept (VALUE sock) |
void | rsock_init_tcpserver (void) |
void rsock_init_tcpserver | ( | void | ) |
Definition at line 106 of file tcpserver.c.
References rb_cTCPServer, rb_cTCPSocket, rb_define_class(), rb_define_method(), rb_define_private_method(), rsock_sock_listen(), tcp_accept(), tcp_accept_nonblock(), tcp_svr_init(), and tcp_sysaccept().
Referenced by rsock_init_socket_init().
Definition at line 56 of file tcpserver.c.
References union_sockaddr::addr, rb_io_t::fd, GetOpenFile, rb_cTCPSocket, and rsock_s_accept().
Referenced by rsock_init_tcpserver().
Definition at line 69 of file tcpserver.c.
References union_sockaddr::addr, GetOpenFile, len, rb_cTCPSocket, and rsock_s_accept_nonblock().
Referenced by rsock_init_tcpserver().
Definition at line 34 of file tcpserver.c.
References INET_SERVER, Qnil, rb_scan_args(), and rsock_init_inetsock().
Referenced by rsock_init_tcpserver().
Definition at line 94 of file tcpserver.c.
References union_sockaddr::addr, rb_io_t::fd, GetOpenFile, and rsock_s_accept().
Referenced by rsock_init_tcpserver().