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

From: Date: Thu, 13 Dec 2001 11:25:01 +0000
Subject: Bug #10830 Updated: Cannot bind() a socket to a specific port in FreeBSD
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-73514@lists.php.net to get a copy of this message
ID: 10830 Updated by: sander Reported By: drw@douglas.min.net Old Status: Feedback Status: Closed Bug Type: Sockets related Operating System: FreeBSD 4.3-STABLE PHP Version: 4.0.5 New Comment: No feedback. Closing. Previous Comments: ------------------------------------------------------------------------ [2001-11-21 07:37:56] mfischer@php.net The socket interface has been rewritten in PHP. Can you try latest RC please http://www.php.net/~zeev/php-4.1.0RC3.tar.gz Unfortunately, there is no documentation yet for the new extension. All socket related functions start with 'socket_*()', so this would be socket_create, socket_bind, etc. Feedback. ------------------------------------------------------------------------ [2001-05-12 13:19:32] drw@douglas.min.net 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 this bug report at http://bugs.php.net/?id=10830&edit=1

« previous php.dev (#73514) next »