|
Enrico You cannot do Socket PUSH if you do not
have the IP address of the phone. You can contact MTN or Vodacom and chat with
them about getting a static IP for your phone. This will cost you x amount of
money and would not help you much. It would be useless for a chat application,
can’t expect all your users to do this. Getting the phones IP can easily be done
by making a connection to the server and the server sending the IP back to the
phone. But remember the IP will change every time you make a new GPRS
connection. Plus this might not be your true IP. Johan From: Hi all, I’m thinking of writing a mobile chat application
using MIDP 2.0 Push Registry, but I have a question. If your Midlet is supposed to startup on receipt of an
incoming socket connection, how will you be able to establish a socket connection
with a mobile phone if you don’t know its IP address? Does the Midlet automatically publish its IP address to the
Server, when the user switches on the phone? OR Must the user start the Midlet, at which point it publishes
its IP address to the server? How do you obtain the phone’s IP address from within
the Midlet? Regards, Enrico Goosen Software Developer SAICOM TECHNOLOGY TEL: +2721
555 0726 FAX: +2721 555 0821 CEL: +2783 305 5676 EMAIL: [EMAIL PROTECTED] |
No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.0/168 - Release Date: 11/14/2005
