title: Connecting to a TCP/IP server via php script
body: <p>I need to implement a php script on my website that would do the following:</p>
  
  <ol>
  <li>Connect to a remote server</li>
  <li>Send packet to the server</li>
  <li>Receive packet from the server</li>
  </ol>
  
  <p>Everything is already configurated on the server side to respond to packet requests, I only need to figure out how to use php to connect to TCP/IP server.</p>
  
  <p>Any ideas in which direction to look?</p>