Post

Replies

Boosts

Views

Activity

Reply to connect() iOS 18.5 Developer Beta (22EF5042g)
I have tried many things, here and I am starting to suspect a bug in the beta. After getting EINTR once, I retry only to get EADDRINUSE over and over; before I give up. I have also tried setting the socket option SO_REUSEADDR and this does not help. I have also tried with and without O_NONBLOCK, no luck. While on mobile data, its always: connect()->EINTR->EADDRINUSE Switching to wifi (without restarting the app) and things start to work. This is happening from the "Packet Tunnel" network extension part of the app... something subtle has changed somwhere - Hopefully the beta developers are aware or have some insight.
Apr ’25
Reply to connect() iOS 18.5 Developer Beta (22EF5042g)
Thanks Past Quinn™…and Present Quinn for the response (and countless others I have read over the years, while of lurking in the corner) We are handling EINTR, there is no crash and we do retry. Let me do some more research and maybe write a test driver and see if I can narrow this down. Our app has worked for years and started acting up on this seed.
Apr ’25