title: Send Server Sent DOM event to specific IP with PHP
body: <p>I have a PHP cron job that checks for new emails once every minute. I can fetch the IP addresses for every account from my database via the authentication log no problem. What I'm <em>not</em> sure about is how to send the Server Sent DOM event to specific IP addresses.</p>
  
  <p>The basic...</p>
  
  <pre><code>&lt;?php
  header('Content-Type: text/event-stream');
  header('Cache-Control: no-cache');
  $ip = '127.0.0.1';
  $message = 'Example Message.';
  ?&gt;
  </code></pre>
  
  <p>This is <em>NOT</em> something that can be initiated from the client at all since it is a <em>cron job</em>. It is perfectly okay if one/any/all account holders don't have a browser open and ready to accept the notification, they are aware of that requirement.</p>
  
  <p>This question is explicitly how to send a signal from the server to the client and <em>has nothing to do with the client</em> other then sending a signal to their IP address.</p>