[jdev] Using XMPP to talk to a mobile client
Jonathan Dickinson
jonathan.dickinson at k2.com
Thu Apr 9 02:28:24 CDT 2009
> -----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
> _______________________________________________
More information about the JDev
mailing list