Dear Forum,
I have a very special problem, but I hope some one has a tip for me.
For a direct connection between two mobile devices through the GSM-Network I have 2 SIM cards from Wireless Logic. They have an own APN and the SIM cards have a fix private IP. If I use two GSM modems (Siemens / Cinterion) I can establish a TCP/IP socket client / server communication.
But if I try to connect to the server with a B4A Network Lib Socket I get the error:
libcore.io.ErrnoExeption: Connection Failed: (Network is unreachable)
This error comes up in less then 20ms, just as if the mobile network access is switched off. So I suppose something in the Network-Lib blocks the connection.
But if I change only the IP+Port to connect to another Server, reachable through the Internet, it works.
Thanks
I have a very special problem, but I hope some one has a tip for me.
For a direct connection between two mobile devices through the GSM-Network I have 2 SIM cards from Wireless Logic. They have an own APN and the SIM cards have a fix private IP. If I use two GSM modems (Siemens / Cinterion) I can establish a TCP/IP socket client / server communication.
But if I try to connect to the server with a B4A Network Lib Socket I get the error:
libcore.io.ErrnoExeption: Connection Failed: (Network is unreachable)
This error comes up in less then 20ms, just as if the mobile network access is switched off. So I suppose something in the Network-Lib blocks the connection.
But if I change only the IP+Port to connect to another Server, reachable through the Internet, it works.
Thanks