InMotion Web Site Hosting
InMotion Hosting Home


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.


InMotion Web Hosting Customer Support
M-F 8am - 7pm PST
213-239-0050

More information can be found at the InMotion Hosting Main Site

>