From:             [EMAIL PROTECTED]
Operating system: FreeBSD 4.3-STABLE
PHP version:      4.0.5
PHP Bug Type:     Sockets related
Bug description:  Cannot bind() a socket to a specific port in FreeBSD

Operating in CGI mode, trying the Simple TCP/IP Server script at

bind($sock,$address,$port) fails with "Invalid argument".

bind($sock,$address) gives a parameter count error, but manages to bind the socket to 
the next available port anyway.

Reproducable in 12-May snapshot.  This may affect other BSD unices also, however it is 
verified as working properly under Linux.

Edit Bug report at:

PHP Development 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