[jdev] Using XMPP to talk to a mobile client

Mridul Muralidharan mridulm80 at yahoo.com
Thu Apr 9 06:20:26 CDT 2009




Just to mention, BOSH does not have any same client IP requirement/restriction.

And unlike tcp binding of xmpp - where session is terminated if disconnected, BOSH does handle disconnects in its design.

The only requirements would be -

a) ability of the client to connect back before the session/idle timeout.
b) BOSH gateway not going down.
c) BOSH client not going down.

b and c are mentioned - so that the session state (rid, etc) is not lost.

Regards,
Mridul



--- On Thu, 9/4/09, Jonathan Dickinson <jonathan.dickinson at k2.com> wrote:

> From: Jonathan Dickinson <jonathan.dickinson at k2.com>
> Subject: Re: [jdev] Using XMPP to talk to a mobile client
> To: "Jabber/XMPP software development list" <jdev at jabber.org>
> Date: Thursday, 9 April, 2009, 12:58 PM
> > -----Original Message-----
> > From: jdev-bounces at jabber.org
> [mailto:jdev-bounces at jabber.org]
> On
> > Behalf Of Fabio Forno
> > Sent: 08 April 2009 11:38 PM
> > To: Jabber/XMPP software development list
> > Subject: Re: [jdev] Using XMPP to talk to a mobile
> client
> > 
> > On Wed, Apr 8, 2009 at 9:26 PM, Thiranjith . <thiranjith at gmail.com>
> > wrote:
> > > Hi,
> > >
> > > Can we use XMPP to talk to a client on a mobile
> device (e.g. PDA/
> > mobile
> > > phone) that is connected to the internet using
> 3G? From what I
> > understand,
> > > phones' end-point IP changes as they move around,
> and generally they
> > are
> > > behind the network operator's (At&T, Vodafone
> etc) firewall.
> > >
> 
> IPv6 is supposed to address situations in regard to mobile
> devices. Although I am not entirely sure how well the
> technologies have been deployed. IIRC most mobile operators
> use NAT to connect clients to the internet, this means that
> the NAT will do what it can to keep your socket connections
> alive - in other words, mobile devices are less reliable
> (because they can lose signal entirely), but still
> completely viable (because the operators generally have this
> kind of stuff in mind).
> 
> My Windows Mobile phone has IPv6 and I have been able to
> access the IPv6 test website - if it works in a backwards
> country like South Africa it's gotta work in America and the
> UK!!!
>  
> > > Does the mobile client need to periodically
> notify the server about
> > its IP?
> 
> No and yes. As I said this should be handled by your
> operator's NAT: test the system and find out (connect to a
> XMPP server and go on a road trip). If it isn't you should
> definitely raise a stink.
> 
> Yes in terms that, primarily, if your public IP (i.e. one
> of your operator's IP addresses) changes chances are you are
> going to get clean disconnected. If this happens your client
> should reconnect automatically - and as a side effect of
> this the server gets your new IP.
> 
> > 
> > --
> > Fabio Forno, Ph.D.
> > Bluendo srl http://www.bluendo.com
> > jabber id: ff at jabber.bluendo.com
> > _______________________________________________
> > JDev mailing list
> > Forum: http://www.jabberforum.org/forumdisplay.php?f=20
> > Info: http://mail.jabber.org/mailman/listinfo/jdev
> > Unsubscribe: JDev-unsubscribe at jabber.org
> > _______________________________________________
> _______________________________________________
> JDev mailing list
> Forum: http://www.jabberforum.org/forumdisplay.php?f=20
> Info: http://mail.jabber.org/mailman/listinfo/jdev
> Unsubscribe: JDev-unsubscribe at jabber.org
> _______________________________________________
> 


      Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/




More information about the JDev mailing list