Not logged in. · Lost password · Register
Forum: agsXMPP RSS
count not connect
Avatar
unruledboy #1
Member since Dec 2007 · 3 posts
Group memberships: Members
Show profile · Link to this post
Subject: could not work with gtalk
downloaded the sdk, tried SendMessage sample, the receiver did not get any message after waiting for a long time.

tried MiniClient, exception(message box) tells that it(socket) could not connect to server, connection refused. and the "debug" info is simply : "SEND: </stream:stream>"

any idea?

p.s. I am using vs2005.
This post was edited 2 times, last on 2007-12-08, 03:26 by unruledboy.
Avatar
Alex #2
Member since Feb 2003 · 4317 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
If you use Google Talk you must set
  1. xmppCon.AutoResolveConnectServer = true;
or specify the connect server talk.google.com.

Alex
This post was edited on 2007-12-08, 17:39 by Alex.
Avatar
unruledboy #3
Member since Dec 2007 · 3 posts
Group memberships: Members
Show profile · Link to this post
now I know what happened. It works at my home, with direct ADSL to the internet. but did NOT work at my office, which connect to the internet via Microsoft ISA proxy server.

but the strange thing is that: even I set the proxy properties of the XmppClientConnection, it throws the exception I mentioned above. any idea to deal with the proxy thing?
Avatar
Alex #4
Member since Feb 2003 · 4317 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
there is no proxy support if you use direct socket connection on port 5222.
There proxy support if you use HTTP-Polling as transport layer, but the GTalk server does not support this extensions.

Which means that you can't connect to GTalk over HTTP or Socks Proxy with agsXMPP now.

Alex
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:
Forum: agsXMPP RSS