I think you understand correctly.
Thanks for confirming that.
Our socket server listens on port 10001.
I can’t think of any reason that such a connection would be blocked by the Apple firewall.
the socket connection established successfully, but it can't receive data!!
And that’s certainly not how the Apple firewall works. If it blocks an outgoing connection, it’s completely blocked. The server will never see the connection established.
I see two possibilities here:
With regards B, it’s possible the data is being blocked by some sort of regional firewall or by something on your network when it originates from an unexpected region. You can rule both of these out by having someone based in the US test your app to make sure that they can connect. App Review is, as you might expected, based in the US (-:
With regards A, make sure you do your testing with exactly the same build used by App Review. This means creating an archive for your Release build and then using that archive to upload to the store, and for your ad hoc test builds, and to upload to TestFlight. I’ve seen a lot of problems like this caused by folks not testing exactly the same build that they submitted, which is why App Review has problems but normal testing does not.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"