[PHP] socket_bind to an ssl:// address

2011-09-04 Thread Chris Bowler
Hi ive been using this no problems $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); But I need to connect to ssl://epp.nominet.org.uk:700 and this fails as it does not understa

[PHP] socket_bind function

2007-10-19 Thread Bill Rausch
I see reading the online docs that I'm supposed to go: socket_create... socket_bind... socket_connect... I've never used the bind function and it hasn't seemed to make any difference? I've always just done socket_create() and then socket_connect(). What benefit is there to putting a socket_bind

RE: [PHP] socket_bind

2004-06-25 Thread Josh Close
Thanks, changing the port worked. -Josh > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, June 25, 2004 9:22 AM > To: [EMAIL PROTECTED] > Cc: PHP (E-mail) > Subject: Re: [PHP] socket_bind > > > I think all sockets le

Re: [PHP] socket_bind

2004-06-25 Thread bbonkosk
D]> Date: Friday, June 25, 2004 10:18 am Subject: [PHP] socket_bind > I'm trying to do socket_bind() and it works fine from the command > line as > root, but when I try to use it through apache I get this error > > Warning: socket_bind() unable to bind address [13]: Permissio

[PHP] socket_bind

2004-06-25 Thread Josh Close
I'm trying to do socket_bind() and it works fine from the command line as root, but when I try to use it through apache I get this error Warning: socket_bind() unable to bind address [13]: Permission denied in .. Is there a way to have this run through apache? -Josh -- PHP General Mailing