Hello

Yes by the looks of it that is the case. So a plain socket connection will be the easiest.

Johan

 


From: [email protected] [mailto:[email protected]] On Behalf Of Enrico Goosen
Sent: Tuesday, November 15, 2005 2:48 PM
To: [email protected]
Subject: [CTJUG Forum] Re: MIDP 2.0 Push Registry

 

Hi Johan,

 

Are you saying that Push Registry will only work if your phone has a static IP address, which it can publish to the Server?

That sucks.

 

Guess I’ll have to establish a plain old socket connection from the midlet, and let the server route traffic between connected devices.

 

Thanks,

Enrico

 


From: [email protected] [mailto:[email protected]] On Behalf Of Johan Meyer
Sent: 15 November 2005 02:39 PM
To: [email protected]
Subject: [CTJUG Forum] Re: MIDP 2.0 Push Registry

 

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: [email protected] [mailto:[email protected]] On Behalf Of Enrico Goosen
Sent: Tuesday, November 15, 2005 2:22 PM
To: [email protected]
Subject: [CTJUG Forum] MIDP 2.0 Push Registry

 

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

Reply via email to