D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Socket
/
Filename :
accept_loop-c.ri
back
Copy
U:RDoc::AnyMethod[iI"accept_loop:ETI"Socket::accept_loop;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"Vyield socket and client address for each a connection accepted via given sockets.;To:RDoc::Markup::BlankLine o; ; [I"*The arguments are a list of sockets. ;TI"GThe individual argument should be a socket or an array of sockets.;T@o; ; [I"0This method yields the block sequentially. ;TI"PIt means that the next connection is not accepted until the block returns. ;TI"gSo concurrent mechanism, thread for example, should be used to service multiple clients at a time.;T: @fileI"ext/socket/lib/socket.rb;T:0@omit_headings_from_table_of_contents_below00I"socket, client_addrinfo;T[ I"(*sockets);T@FI"Socket;TcRDoc::NormalClass00