Is it possible to do this with CURL instead of the socket functions
$bindip = 'xx.xx.xx.xx';
$sock = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
socket_bind($sock, $bindip);
socket_connect($sock, 'ssl://epp.server.com', 80);
ie bind an IP and connect to an ssl:// address
Trying to connect via
Top postinng due to sendng from my cell phone...
I'd suggest you lookl at doing the ssl to the server ip address not the host
name, and from reading your other note, it looks like ssl: isnlt needed,
merely the name/ip of the server.
HTH,
Wolf
-Original Message-
From: Alan Willsher <[E
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
--- Alan Willsher <[EMAIL PROTECTED]> wrote:
> Hi how do you use socket_create with an ssl server
>
> ie I would do something like
>
> $sock = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
> socket_bind($sock, $sourceip);
> socket_connect($sock, 'server.com', 2043);
>
> but if I do
>
> $sock =
4 matches
Mail list logo