Im attempting to use websockets for a project. It needs to use the ipad, though i cant seem to make it work.
I have downloaded a copy of this code that uses phpwebsocket http://www.flynsarmy.com/2012/02/php-websocket-chat-application-2-0/ . Followed setting up the server. I got it working across computers, different browsers, no problem.
Then i wanted to test it on my ipad (ios 5.1) and it wouldnt work. So i made sure that websockets worked on ipad, which i found they did [link]http://websocket.org/echo.html .
I then looked at it further, to see it was attempting to connect, but then disconnecting after about 15 seconds, i assume timing out. It shows up in terminal on my mac, saying it has disconnected.
I am currently connecting my ipad to my mac over wifi to see if it was the router, and in terminal IP address shows differently, ending in 255.255.255.100 not 255.255.255.96
Does anyone have any ideas what is going on, or what i should do to sort it.