Re: [PHP] stream_socket_accept() on an SSL socket

2008-12-02 Thread ceo
First thing I would check is and make sure you have OpenSSL compiled in. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] stream_socket_accept() on an SSL socket

2008-12-02 Thread German Geek
When you "talk" to an SSL server directly with sockets, I believe you need to implement the SSL protocol yourself, which would probably be overkill. There must be a PHP library which does or a native function. You should probably look at this page: http://nz.php.net/manual/en/wrappers.http.php and

Re: [PHP] stream_socket_accept() on an SSL socket

2008-12-02 Thread Tim | iHostNZ
When you "talk" to an SSL server directly with sockets, I believe you need to implement the SSL protocol yourself, which would probably be overkill. There must be a PHP library which does or a native function. You should probably look at this page: http://nz.php.net/manual/en/wrappers.http.php and

Re: [PHP] stream_socket_accept() on an SSL socket

2008-12-02 Thread Ashley Sheridan
On Tue, 2008-12-02 at 23:48 +, Darren wrote: > I'm trying to connect to an SSL server, but I keep on getting these errors: > - > PHP Warning: stream_socket_accept(): SSL operation failed with code 1. > OpenSSL Error messages: > error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknow

[PHP] stream_socket_accept() on an SSL socket

2008-12-02 Thread Darren
I'm trying to connect to an SSL server, but I keep on getting these errors: - PHP Warning: stream_socket_accept(): SSL operation failed with code 1. OpenSSL Error messages: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol in C:\scripts\bouncer.php on line 273 PHP Warn