PHP 手冊
上一頁 | 附錄 N.List of Supported Socket Transports | 下一頁

# Unix Domain: Unix and UDG

unix:// since PHP 3, udg:// since PHP 5

- unix:///tmp/mysock

- udg:///tmp/mysock

unix:// provides access to a socket stream connection in the Unix domain. udg:// provides an alternate transport to a Unix domain socket using the user datagram protocol.

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.

上一頁 | 最開頭 | 下一頁
List of Supported Socket Transports | 上一層 | PHP type comparison tables