Gemalto is now part of the Thales Group, find out more.

You are here

ServerSocketConnection | Thales IoT Developer Community

mortenbo1948

June 8, 2015 - 11:20am, 2048 views

Dear Gemalto.

I am trying to write a ServerSocketConnection.

I do not have static ip on my SIM/M2M- card.

So in order to work around this problem, I try'ed to etabish an http-connection to my Tomcat server, sending a ping. The response from the ping, gives me the remote ip-addr., that is my tc65 httpconnection. I then tryed to do a ServerSocketConnection where I put in the ip-addr, It does not help. I get a time out. I suspect the ServerSocketConnection is creating its own ip. As You know, the getLocalAddr always come up with a privat ip, in the range of 10.***.***. etc

Is it posibble to ***** the system so it etablish a ip-addr from the above precedure?