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 
http://www.php.net/manual/en/html/ref.sockets.html

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: http://bugs.php.net/?id=10830&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
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