hey there,

I would love to get perl's Net::XMPP talking to talk.google.com, but
am having some pains:

--- code snippet
my $connection = Net::XMPP::Client->new(debuglevel => 2,
                     debugfile => 'stdout'
                     );

$connection->Connect( "hostname" => $SERVER,
                     "tls"      => 1,
                      "port"     => $PORT ) or die "Cannot connect ($!)\n";

my @result = $connection->AuthSend( "username" => $USER,
                    "password" => $PASSWORD,
                    "tls"      => 1,
                    "resource" => $RESOURCE );
------

I can connect, the connection goes secure, but google just doesn't
respond to me after we are secure:

XML::Stream: TLSClientProceed: ssl_sock(IO::Socket::SSL=GLOB(0x85fd6f8))
XML::Stream: TLSClientProceed: SSL: We are secure
XML::Stream: Process: block(0)
XML::Stream: Send: (<?xml version='1.0'?><stream:stream version='1.0'
xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client'
to='talk.google.com' from='hecate' xml:lang='en' >)

after a while the Net:XMPP will send a auth packet, this too gets ignored.

the username is [EMAIL PROTECTED], password is as for gmail login,
server I'm talking to is talk.google.com

any help would be appreciated!
_______________________________________________
jdev mailing list
[email protected]
http://mail.jabber.org/mailman/listinfo/jdev

Reply via email to