ID: 34706 Updated by: [EMAIL PROTECTED] Reported By: garmoan at gmail dot com -Status: Open +Status: Assigned Bug Type: Documentation problem PHP Version: Irrelevant -Assigned To: +Assigned To: simp
Previous Comments: ------------------------------------------------------------------------ [2005-10-02 15:34:12] [EMAIL PROTECTED] Actually that's not what the function does. It assigns the address and port to a unbound socket. Opening the connection is still left for socket_listen or socket_connect. ------------------------------------------------------------------------ [2005-10-02 15:09:41] garmoan at gmail dot com Description: ------------ As suggested by aidan to do... The socket_bind() documentation could do with a couple extra lines to explain what it actually does. i.e. socket_bind(), in terms of AF_INET, opens the port on the specified address, and in terms of AF_UNIX, creates the *.sock file for inter-process communication. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34706&edit=1