|
Unix Domain: Unix and UDG
Unix domain sockets, unlike Internet domain sockets, do not expect a port number. In the case of fsockopen() the portno parameter should be set to 0. Code Examples / Notes » transports.unixmatthew fortune
It appears that fsockopen prior to php5 did not need the unix:// qualifier when opening a unix domain socket: php4: fsockopen("/tmp/mysocket"......); php5: fsockopen("unix:///tmp/mysocket"......); This caught me out when upgrading. |