Post not yet marked as solved
Post marked as unsolved with 4 replies, 4,008 views
Hi, I would like to know if Apple permit to connect an electronic device to an iPhone Hotspot and open a TCP socket connection between them (between the electronic device and the iPhone, and more precisely, an iOS app on the iPhone). The iPhone (app) would be the Server and the device would be the client. This will allow data transfer between them.If it is permitted, I've read on different forums that the iPhone IP is not static and that it could make a problem to a TCP connection, is that correct? If it is, do you know a solution to that problem?I've already tried the oposite, i.e. the iOS app being the client and the electronic device being the server, but the socket connection wasn't stable and I couldn't avoid it to close suddenly (maybe because the iOS app has to use Cellular data in parallelel in order to make requests to an external server and receive push notification from Firebase).Thank you in advance!