Just to follow up

Code:
--------------------
    
  sub inet_aton {
  my ($name, $cb) = @_;
  
  if (my $ipn = &parse_ipv4) {
  $cb->($ipn);
  } elsif (my $ipn = &parse_ipv6) {
  $cb->($ipn);
  } elsif ($name eq "localhost") { # rfc2606 et al.
  $cb->(v127.0.0.1, v0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1);
  } else {
  require AnyEvent::DNS;
  .
  .
  
--------------------


The offending line in red hasn;t changed in latest version of
AnyEvent::Socket.pm 

Why the "my $ipn" is executed twice is odd - perhaps an strange network
error - could it be your network is network interface is not ready ?


------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=110902

_______________________________________________
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to