0
我想在我的ios应用程序使用php背面编码发送推送通知。apns-端口连接roblem
我使用这个连接:
stream_context_set_option($ctx, 'ssl', 'local_cert', 'apns-dev.pem');
stream_context_set_option($ctx, 'ssl', 'passphrase', '');
$fp = stream_socket_client('ssl://gateway.sandbox.push.apple.com:2195', $err, $errstr, 60, STREAM_CLIENT_CONNECT, $ctx);
上打印$err
我得到110
。
任何人都可以告诉我这个连接失败的原因和错误110的含义吗?