UDPSocket does not work with IPv6 ?

  • Thread starter Iñaki Baz Castillo
  • Start date
I

Iñaki Baz Castillo

Hi, I've a IPv6 address in my host.

------------------------
UDPSocket.open do |s|
s.connect "2001:838:2:1::30:67", 1
end
-------------------------

=3D> Errno::EAFNOSUPPORT: Address family not supported by protocol - connec=
t(2)
from (irb):25:in `connect'


How to use UDPSocket with an IPv6?

Thanks a lot.


--=20
I=C3=B1aki Baz Castillo
<[email protected]>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top