The sockets extension is a much "lower" level interface to sockets
than the fsockets/stream_ functions in PHP.

Unlike with the aforementioned, with the sockets extension, you can't
just expect to magically get an ssl connection by using "ssl://".

Your problem is that the sockets extension has no idea what you mean
by "ssl://"; and since "ssl://foo" is clearly not a valid domain name,
resolution fails.

Short Answer: use fsockets if you need SSL ;)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to