title: Connecting from an iPhone client to a PHP server through sockets
body: <p>In one of my projects a PHP server is successfully serving a php client via sockets but when I try an iPhone client using the NSStreams to this PHP server the client gets connected but if I send a string from the client to server, the xcode comes up with error message that connection is broken.</p>
  
  <p>If I use the same iPhone client to connect to a server running on Python, it establishes the connection and strings are being read/written without any problem.</p>
  
  <p>Can someone understand this please? If some sample or tutorial on PHP / iOS applications on sockets then I will be obliged.</p>