Bug #10830: Cannot bind() a socket to a specific port in FreeBSD

From: Date: Sat, 12 May 2001 17:19:32 +0000
Subject: Bug #10830: Cannot bind() a socket to a specific port in FreeBSD
Groups: php.dev 
Request: Send a blank email to php-dev+get-55012@lists.php.net to get a copy of this message
From: drw@douglas.min.net 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

« previous php.dev (#55012) next »