MMCT TEAM
Server IP : 111.118.215.189  /  Your IP : 216.73.216.153
Web Server : Apache
System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : a1673wkz ( 2475)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /proc/thread-self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Rinda/RingServer/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //proc/thread-self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Rinda/RingServer/new-c.ri
U:RDoc::AnyMethod[iI"new:ETI"Rinda::RingServer::new;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"8Advertises +ts+ on the given +addresses+ at +port+.;To:RDoc::Markup::BlankLineo;
;	[I"FIf +addresses+ is omitted only the UDP broadcast address is used.;T@o;
;	[I"L+addresses+ can contain multiple addresses.  If a multicast address is ;TI"Hgiven in +addresses+ then the RingServer will listen for multicast ;TI"
queries.;T@o;
;	[I"MIf you use IPv4 multicast you may need to set an address of the inbound ;TI"-interface which joins a multicast group.;T@o:RDoc::Markup::Verbatim;	[I" ts = Rinda::TupleSpace.new
;TI"@rs = Rinda::RingServer.new(ts, [['239.0.0.1', '9.5.1.1']])
;T:@format0o;
;	[I"IYou can set addresses as an Array Object.  The first element of the ;TI"IArray is a multicast address and the second is an inbound interface ;TI"?address.  If the second is omitted then '0.0.0.0' is used.;T@o;
;	[I"LIf you use IPv6 multicast you may need to set both the local interface ;TI"-address and the inbound interface index:;T@o;;	[I"=rs = Rinda::RingServer.new(ts, [['ff02::1', '::1', 1]])
;T;
0o;
;	[I"KThe first element is a multicast address and the second is an inbound ;TI"Ainterface address.  The third is an inbound interface index.;T@o;
;	[I"IAt this time there is no easy way to get an interface index by name.;T@o;
;	[I"2If the second is omitted then '::1' is used. ;TI"@If the third is omitted then 0 (default interface) is used.;T:
@fileI"lib/rinda/ring.rb;T:0@omit_headings_from_table_of_contents_below000[I"9(ts, addresses=[Socket::INADDR_ANY], port=Ring_PORT);T@6FI"RingServer;TcRDoc::NormalClass00

MMCT - 2023