ID: 9190 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Sockets related Assigned To: Comments: Fixed in CVS. --Jani Previous Comments: --------------------------------------------------------------------------- [2001-02-09 06:26:22] [EMAIL PROTECTED] $address = "/tmp/socket.sock"; if (($sock = socket (AF_UNIX, SOCK_STREAM, 0)) < 0) { echo "socket() failed: reason: " . strerror ($sock) . "n"; exit; } if (($ret = bind ($sock, $address)) < 0) { echo "bind() failed: reason: $ret " . strerror ($ret) . "n"; exit; } =========== I get: bind() failed: reason: -22 Invalid argument --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9190&edit=2 -- 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]