KMatle Expert Licensed User Longtime User Nov 19, 2017 #1 I've configured my GPS tracker to send data to my B4J app (via GPRS). Inside the B4J app I handle new connections for several clients to connect. I've noticed that the provider of the trackers SIM card changes the IP address while a connection is established (I don't mean the normal behaviour of changing ip addresses). So in ONE active connection is used by 2 ip addresses. I was assuming that in the case of a new ip address the active connection will be terminated. As it seems, sometimes there is a switch but the connection is kept. Is that a normal behaviour?
I've configured my GPS tracker to send data to my B4J app (via GPRS). Inside the B4J app I handle new connections for several clients to connect. I've noticed that the provider of the trackers SIM card changes the IP address while a connection is established (I don't mean the normal behaviour of changing ip addresses). So in ONE active connection is used by 2 ip addresses. I was assuming that in the case of a new ip address the active connection will be terminated. As it seems, sometimes there is a switch but the connection is kept. Is that a normal behaviour?
Erel B4X founder Staff member Licensed User Longtime User Nov 19, 2017 #2 Note that it is AsyncStreams, not AsynchStreams. The connection will never be kept active if the ip address changes. It is possible that the device shows you a different ip but the previous one also works. Upvote 0
Note that it is AsyncStreams, not AsynchStreams. The connection will never be kept active if the ip address changes. It is possible that the device shows you a different ip but the previous one also works.