Not logged in. · Lost password · Register
Forum: XMPP Protocol RSS
cml #1
Member since Oct 2005 · 15 posts
Group memberships: Members
Show profile · Link to this post
Subject: What is XmppClientConnection.ConnectServer mean?
When I connected to google talk's server, I should set
_connection.ConnectServer = ""
first. I would like to know how did it work? I have tried to build a SoapBox server, but I can't login correctly. How should I set, because only _connection.Server seemed useless?

Thank you very much~:oops:

Here is the error message, if you need.
SEND: <stream:stream to='' xmlns='jabber:client' xmlns:stream='' version='1.0'>
RECV: <stream:stream xmlns:stream=&quot;; version=&quot;1.0&quot; from=&quot;; xml:lang=&quot;zh-TW&quot; id=&quot;a25118f4-bc99-4582-9d3a-fb8a43515753&quot; >
RECV: <stream:features xmlns:stream=&quot;;><register xmlns=&quot;; /><mechanisms xmlns=&quot;urn:ietf:params:xml:ns:xmpp-sasl&quot;><mechanism>PLAIN</mechanism><mechanism>DIGEST-MD5</mechanism></mechanisms><auth xmlns=&quot;; /></stream:features>
SEND: <auth xmlns=&quot;urn:ietf:params:xml:ns:xmpp-sasl&quot; mechanism=&quot;DIGEST-MD5&quot; />
RECV: <challenge xmlns=&quot;urn:ietf:params:xml:ns:xmpp-sasl&quot;>cmVhbG09Im5nYWRhdmlkLm15ZnRwLm9yZyIsbm9uY2U9IjIyMWE2ZWY4LTkzNjQtNDMxYS05YjAwLTk4NGNlY2JmNWZlOSIscW9wPSJhdXRoIixjaGFyc2V0PXV0Zi04LGFsZ29yaXRobT1tZDUtc2Vzcw==</challenge>
SEND: <response xmlns=&quot;urn:ietf:params:xml:ns:xmpp-sasl&quot;>dXNlcm5hbWU9IlNvYXBCb3hBZG1pbkBuZ2FkYXZpZC5teWZ0cC5vcmciLHJlYWxtPSJuZ2FkYXZpZC5teWZ0cC5vcmciLG5vbmNlPSIyMjFhNmVmOC05MzY0LTQzMWEtOWIwMC05ODRjZWNiZjVmZTkiLGNub25jZT0iNjQ3ZDhlNjU5MjFlYmY0NDZhNTdiOTZiOWM4NTgxMGMwNDcwYTkxNGI5NDNmYmRiZmY5MDBmZjRiNzZiOTU5ZSIsbmM9MDAwMDAwMDEscW9wPWF1dGgsZGlnZXN0LXVyaT0ieG1wcC9uZ2FkYXZpZC5teWZ0cC5vcmciLGNoYXJzZXQ9dXRmLTgscmVzcG9uc2U9ODUxZTZhMWI3Y2UzYjZiNmY2YzQ0YzRhN2U4OGI4MzA=</response>
RECV: <failure xmlns=&quot;urn:ietf:params:xml:ns:xmpp-sasl&quot;><not-authorized /></failure>
This post was edited on 2006-02-17, 22:18 by Alex.
Alex #2
Member since Feb 2003 · 4274 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post

you need the connect server property only if the servername is different than  the DNS under which you reach it.
The jabber addresses at goole look like But the dns address of the server id But for the most servers its the same and you dont need it.

Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters: