title: Websockets on ipad, is there something extra that needs to be done?
body: <p>Im attempting to use websockets for a project. It needs to use the ipad, though i cant seem to make it work. </p>
  
  <p>I have downloaded a copy of this code that uses phpwebsocket <a href="http://www.flynsarmy.com/2012/02/php-websocket-chat-application-2-0/" rel="nofollow">http://www.flynsarmy.com/2012/02/php-websocket-chat-application-2-0/</a> . Followed setting up the  server. I got it working across computers, different browsers, no problem. </p>
  
  <p>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 . </p>
  
  <p>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.</p>
  
  <p>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</p>
  
  <p>Does anyone have any ideas what is going on, or what i should do to sort it.   </p>