Naive Question:

Your BIND server is running on port 10000?...

Is that for sure?  I would have expected a port number < 1024.

I believe the protocal (3rd arg) argument to socket() should be 'udp' or
'tcp' rather than the documented int type and value of 0 you used...  At
least, there's a user-contributed not to that effect...

WARNING [EMAIL PROTECTED] address is an endangered species -- Use
Wanna help me out?  Like Music?  Buy a CD:
Volunteer a little time:
----- Original Message -----
From: William Bailey <[EMAIL PROTECTED]>
Newsgroups: php.general
To: PHP General List <[EMAIL PROTECTED]>
Sent: Friday, August 03, 2001 4:40 AM
Subject: bind() function always reporting Invalid argument.

> Hash: SHA1
> Hi,
> I can't seem to get the bind() socket function to work. Every time
> i try to bind a socket i get 'Invalid argument'.
> I know that the manual says that this module is EXPERIMENTAL and
> that ANYTHING can change WITHOUT NOTICE. But hopefully somebody will know
> what i have to do to get it to work :-)
> I have attached the code that i'm currently using so that you can
> see what is going on.
> Thanks,
> William.
> Version: PGPfreeware 5.0i for non-commercial use
> Charset: noconv
> iQA/AwUBO2pxra39EoU2VrU1EQKTnwCfQo63BKgPaup4aEphTrwgsY/0+/MAoMfC
> N/QVSnNYzLoIDMRcDg2360gB
> =qTnU

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to