[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Freetalk-dev] Intricacies of GTalk.

From: Vikas Gorur
Subject: Re: [Freetalk-dev] Intricacies of GTalk.
Date: Sun, 22 Oct 2006 00:49:44 +0530

On 10/22/06, Debarshi 'Rishi' Ray <address@hidden> wrote:
(define (domain->server domain)
  (cond ((string=? domain "") "")
        ((string=? domain "") "")
        (else domain)))

The above lines in extensions/connection.scm seem to be replacing
"" by "". Why?

Moreover I have seen that to connect to GTalk in GAIM, you need to set
"" as the server and "" as the connect server.
What is the difference?

Calling "" as the 'server' is a misnomer. According to the
RFCs, every JID must have a 'node', 'domain' and optionally a
'resource'. In most cases the 'domain' is equal to the DNS name of the
server you connect to (, for instance). However, this is not
a requirement. So in the case of Google talk, the 'node' is your gmail
username, 'domain' is, and the actual server is
''. What the above code does is that it automatically
figures out the server as '' if the domain is

I am asking since I was trying to use the XMPPpy
( to connect to GMail, and it was
failing at the SASL negotiation stage, although TLS was successfully
negotiated. I had given address@hidden/xyz as the JID and xxxxxxxx as
the password.

Any idea?

Google's jabber server does not support all SASL mechanisms (only
supports the SASL PLAIN mechanism if I recall correctly). Look into
the raw XML log and see where it's failing to figure it out. People at
the Jabber Development conference room (on address@hidden)
are pretty helpful about these matters.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]