iPhone Push Notification - Error response problem

前端 未结 1 1875
夕颜
夕颜 2021-01-25 05:44

I\'ve got a problem when checking for a response error after sending a Push Notification. This is my setup:

From my PHP server, I\'m sending Push Notifications. These no

相关标签:
1条回答
  • 2021-01-25 05:52

    You need to set stream_set_blocking($this->_apnsSocket, 0); to 0 which is non-blocking mode, because on success Apple doesn't send back anything, but the fread is waiting for data in blocking mode.

    0 讨论(0)
提交回复
热议问题