|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-03-22 08:26 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 01:00:01 2025 UTC |
$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