Gestionnaire de fichiers - Editer - /opt/cpanel/ea-ruby24/root/usr/share/ri/system/Socket/udp_server_loop-c.ri
Arrière
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::BlankLine o; ; [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
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Génération de la page: 0.01 |
proxy
|
phpinfo
|
Réglages