Can I do this with curl - bind ip to ssl connection
Christopher Bowler <[email protected]> Sat, 03 Sep 2011 23:44:49 +0100
| Newsgroups | gmane.comp.web.curl.php |
|---|---|
| Message-ID | <[email protected]> |
Hi Ive been using this to bind an ip and make an ssl connection $sourceip = 'xx.xx.xx.xx'; //IP to bind $sock = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); socket_bind($sock, $sourceip); socket_connect($sock, 'dac.nic.uk', 3043); Which works great , but now I need to connect to ssl://epp.nominet.org.uk:700 ie socket_connect($sock, 'ssl://epp.nominet.org.uk', 700); This however does not work as socket_bind does not understand ssl:// Can I use curl to do this? _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php