ID: 34706 Updated by: [EMAIL PROTECTED] Reported By: garmoan at gmail dot com -Status: Assigned +Status: Closed Bug Type: Documentation problem PHP Version: Irrelevant Assigned To: simp New Comment:
This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Binds the name given in address to the socket described by socket. This has to be done before a connection can be established using socket_connect or socket_listen. 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