Post not yet marked as solved
Post marked as unsolved with 9 replies, 4,462 views
Hi!The Networking Overview state that I should avoid POSIX sockets on iOS because it doesn't activate the cellular modem. At the same time it states that the "most appropriate times to use sockets directly are when you are developing a cross-platform tool ..."I'm implementing a cross-platform library with a dependency on a third party MQTT-library that uses POSIX socket API (for TCP) , so for me there is a huge win in leveraging the POSIX APIs.Is there any way to "manually" keep the cellular modem active when needed? Technically I guess I could just send some random data with a high level API to keep it active, the feels more like a hack. What is the right way to solve this issue?Regards,Markus