title: APNS : Are there any limitation for kind of device?
body: <p>I'm developing 3rd party server to use APNS. My server opens a connection to APNS, sends several messages, then close connection like this.</p>
  
  <pre><code>$apns = stream_socket_client( ... );
  
  foreach( $data as $row )
  {
      SendPush( $apns, $row );
      ...
  }
  
  ...
  
  
  fclose( $apns );
  </code></pre>
  
  <p>I've developed a server with php, and done tests with 4 devices - iPhone4 * 2 and i Pod Touch *2, then I found some device miss its push nofitication.</p>
  
  <p>When I tried to send Push by this with this sequence, only iPhone A received its Push notification.</p>
  
  <blockquote>
    <p>iPhone A -> iPod A -> iPhone B -> iPod B</p>
  </blockquote>
  
  <p>With below sequence, only iPod A received Push notificaton.</p>
  
  <blockquote>
    <p>iPod A -> iPhone A -> iPod B -> iPhone B</p>
  </blockquote>
  
  <p>And I tried this sequence - iPhone A -> iPhone B -> iPod A -> iPod B, then iPhone A&amp;B received their push, but iPod A&amp;B didn't. With iPod A -> iPod B -> iPhone A -> iPhone B, only iPods received push.</p>
  
  <p>I used SSL certificate for production. When I send one push per one connection or used certificate for development, there was no problem - all devices recevied their pushs well. Why this happen?</p>