title: How can Javascript client connect to PHp socket Server?
body: <p>Hi I have a running socket server written with PHP. </p>
  
  <p>The server is listening for connections.. any idea how my client(written in javascript) is going to connect to the server and send data to it?</p>
  
  <p>PS: I only know how to connect a php client to the socket server but unsure how to connect a javascript client.</p>
  
  <p>Thanks all for your time.</p>