iOS Rocket socket with ip address not working

548 views Asked by At

I want to make the socket rocket work with ip address instead of host name

I am using Socket Rocket Visit https://github.com/square/SocketRocket#readme to create real time application on iPhone/ipad ,the library works fine if i use host name , but it doesn't work if i use ip address instead of host name (i get the ip by ping my web server host name)

Tried to resolve ip address to its host name but nothing.

1

There are 1 answers

0
user3069124 On

here is the solution , i used the library "GCDAsyncSocket" it works fine and smooth