Ruby
2.1.10p492(2016-04-01revision54464)
|
#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) |
static VALUE | tcp_sysaccept (VALUE sock) |
void | rsock_init_tcpserver (void) |
void rsock_init_tcpserver | ( | void | ) |
Definition at line 139 of file tcpserver.c.
References rb_cTCPServer, rb_cTCPSocket, rb_define_class(), rb_define_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 101 of file tcpserver.c.
References union_sockaddr::addr, GetOpenFile, rb_cTCPSocket, and rsock_s_accept_nonblock().
Referenced by rsock_init_tcpserver().
Definition at line 34 of file tcpserver.c.
References argc, argv, INET_SERVER, Qnil, rb_scan_args(), and rsock_init_inetsock().
Referenced by rsock_init_tcpserver().
Definition at line 127 of file tcpserver.c.
References union_sockaddr::addr, rb_io_t::fd, GetOpenFile, and rsock_s_accept().
Referenced by rsock_init_tcpserver().