geLocalAddress() is correct method
you're right the IP will be natted if you don't have pdp profile with
public ip associated.
You could use service like http://checkmyip.com/ but don't see any
reason to do it. Your device is not accessible from outside the
network anyway ;/
If you don't have public ip then your device has to initiate the
connection. The alternative solution is to use vpn.
KR makuda
> --
> You received this message because you are subscribed to the Google Groups "Cinterion Java enabled chips support" group.
> To post to this group, send email to java...@googlegroups.com.
> To unsubscribe from this group, send email to javacint+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/javacint?hl=en.
>
POST /setvalue.php HTTP/1.1Host: www.myserver.ruContent-Length: 83imei=353234012345678¶m=2&time=2010-04-12 15:57:44&value=86.79&password=mPy0sk6eHTTP/1.1 200 OKServer: nginx/0.6.31Date: Mon, 12 Apr 2010 11:48:15 GMTContent-Type: text/html; charset=UTF-8Transfer-Encoding: chunkedConnection: keep-aliveX-Powered-By: PHP/5.2.101a0: OK; 2010/04/12,15:48:15; PLEASE DO SOME ACTION=10You should note also that using gzip to compress your xml/gzip requests and answers can help you save a lot of bandwidth.