Hallo,
ich habe versucht mit dem CPAN-Modul "Net::ICQ" eine Verbindung zu ICQ aufzubauen. Ich bekomme die Meldung:
Software error:
socket error: IO::Socket::INET: Bad hostname 'icq.mirabilis.com' at testicq.pl line 19
Sowohl wenn ich es lokal versuche, als auch auf dem Webspace meines Providers. Jemand eine Ahnung, was das bedeutet?
Vielen Dank!
min
--------------------------------------------------------------------------
Mein Script ist das Beispiel aus der Modul-Beschreibung:
#!/usr/bin/perl
use warnings;
use CGI::Carp qw(fatalsToBrowser);
use Net::ICQ;
$uin = "110";
$password = "polizei";
$icq = Net::ICQ->new($uin, $password);
# $icq->connect();
# $icq->add_handler('SRV_SYS_DELIVERED_MESS', &on_msg);
# $params = {
# 'type' => 1,
# 'text' => 'Hello world',
# 'receiver_uin' => 1234
# };
# $icq->send_event('CMD_SEND_MESSAGE', $params);
# $icq->start();
print "Content-type: text/html\n\n";
print "Nachricht gesendet";