CDDB
view release on metacpan or search on metacpan
lib/CDDB.pm view on Meta::CPAN
$self->response(); # wait for any response
delete $self->{handle}; # close the socket
}
else {
$self->debug_print( 0, '--- disconnect on unconnected handle' );
}
}
#------------------------------------------------------------------------------
# Connect to a cddbp server. Connecting and disconnecting are done
# transparently and are performed on the basis of need. Furthermore,
# this routine will cycle through servers until one connects or it has
# exhausted all its possibilities. Returns true if successful, or
# false if failed.
sub connect {
my $self = shift;
my $cddbp_host;
# Try to get our hostname yet again, in case it failed during the
# constructor call.
( run in 0.288 second using v1.01-cache-2.11-cpan-a1d94b6210f )