title: Socket send data entered in Terminal
body: <p>I want to create a Socket that listens to connections and sends data which i enter in terminal (want  to run it using php script.php) to all Clients</p>
  
  <p>any direction too look?</p>
  
  <p>best regards, 
  Jack</p>