I am trying to send push notification in my ios app using php backside coding.
I am using this to connect:
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);
On printing $err
I am getting 110
.
Can anybody please tell me the reason for this connection failure and the meaning of error 110?