I am wondering how can I make real time data exchanges on mobile phones like whatapps, viber or skype do on phones. Until now I managed to make a server work on my android phone with web services but it works only with a wifi network as when we use 3G or edge connections, we have private IP Addresses and I can't be joined when using 3G. Of course I can buy a public IP address but I didn't have to when I use viber or whatapps, so I guess there is a solution.
So my question is how to get around those NAT (Network Address Translation) without having to make a periodic check for data?
Asked
Active
Viewed 5,492 times
2

Daniel Fischer
- 181,706
- 17
- 308
- 431

youssoua
- 802
- 1
- 11
- 20
2 Answers
0
A bit vague question. But these apps all basically do either tunneling via external server or NAT traversal. And there are lots of different techniques available...

plaes
- 31,788
- 11
- 91
- 89
-
i know they pass by external servers but still users get their messages in real time. I mean without making a periodic backrgound check as it consumes – youssoua Feb 04 '12 at 12:54
-
@youssoua See NAT traversal ^^ – plaes Feb 04 '12 at 15:29
-
thx, i've seen some interest hints there.. going to look deeper to find a solution.. Greetings :-) – youssoua Feb 04 '12 at 19:52
-1
Since phones can change their IP interface (and address) every few seconds, defeating NAT may not be such a good idea.

StilesCrisis
- 15,972
- 4
- 39
- 62
-
do u have any other idea?? i know but for now that's the only way i have to retrieve data (works only with wifi) – youssoua Feb 04 '12 at 19:55