Not logged in. · Lost password · Register
Forum: MatriX and XmppDotNet RSS
Avatar
Random_Metro #1
Member since Mar 2012 · 6 posts
Group memberships: Members
Show profile · Link to this post
Subject: can not connection to gtalk on wp7
it does not work with the code:

            xmppClient.Username = "zbin.ken";
            xmppClient.Password = "xxxxxx";
            xmppClient.XmppDomain = "gmail.com";
            xmppClient.Transport = Matrix.Net.Transport.BOSH;
            xmppClient.Uri = new Uri("http://gmail.com:5222/http-bind/");
            xmppClient.Show = Show.dnd;
            xmppClient.Status = "Testing on Windows Phone 7";
            xmppClient.Open();

anyone know what can i do?
Avatar
Alex #2
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Google supports no BOSH. You have to use sockets as transport.
Avatar
Alex #3
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
If you want to use BOSH with GTalk you have to run your own BOSH proxy with a software like Punjab
Avatar
Random_Metro #4
Member since Mar 2012 · 6 posts
Group memberships: Members
Show profile · Link to this post
In reply to post #2
great,it's work now ,   i'm so careless

            xmppClient.Username = "zbin.ken";
            xmppClient.Password = "xxxxxx";
            xmppClient.XmppDomain = "gmail.com";
            xmppClient.Hostname = "talk.google.com";
            xmppClient.Port = 5222;
            xmppClient.Show = Show.dnd;
            xmppClient.Status = "Testing on Windows Phone 7";
            xmppClient.Open();

thanks,  :)
Avatar
Alex #5
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Great to hear that it is working now.

Alex
Avatar
ribhuchawla #6
Member since Apr 2012 · 1 post
Group memberships: Members
Show profile · Link to this post
In reply to post #4
Subject: can not connection to gtalk on wp7
Hey, I also had a similar problem. But, When I add xmppClient.Port , it says, Matrix.Xmpp.Client.XmppClient does not contain a definition for Port...  Please help...
Avatar
Alex #7
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
download the latest binary from here:
http://www.ag-software.net/download-directory/
and you will be able to set the port
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: