I am implementing a socket for a chat in my application. It will work fine for HTTPS domain and IP address base domain. But when I use the HTTP domain it is not able to connect and sometimes it said request time out. In android, it will be working fine.
I use pod 'Socket.IO-Client-Swift' library for ios.