File: C:/Ruby27-x64/share/ri/2.7.0/system/UDPSocket/connect-i.ri
U:RDoc::AnyMethod[iI"connect:ETI"UDPSocket#connect;TF:publico:RDoc::Markup::Document:@parts[
o:RDoc::Markup::Paragraph; [I"+Connects _udpsocket_ to _host_:_port_.;To:RDoc::Markup::BlankLine o;
; [I"=This makes possible to send without destination address.;T@o:RDoc::Markup::Verbatim; [I"u1 = UDPSocket.new
;TI" u1.bind("127.0.0.1", 4913)
;TI"u2 = UDPSocket.new
;TI"#u2.connect("127.0.0.1", 4913)
;TI"u2.send "uuuu", 0
;TI"Qp u1.recvfrom(10) #=> ["uuuu", ["AF_INET", 33230, "localhost", "127.0.0.1"]];T:@format0:
@fileI"ext/socket/udpsocket.c;T:0@omit_headings_from_table_of_contents_below0I"(udpsocket.connect(host, port) => 0
;T0[ I"
(p1, p2);T@FI"UDPSocket;TcRDoc::NormalClass00