Home » Networking » Net_Socket » Bug #2961
connect() in 1.0.3 doesn't work w/ filesystem sockets
Details
| Submitted | 2004-12-13 18:55 UTC |
|---|---|
| From | liamr at umich dot edu |
| Assigned | chagenbu |
| Status | Closed |
| Package | Net_Socket |
| PHP Version | 4.3.9 |
| OS | Linux |
| Roadmaps | (Not assigned) |
Comments
[2004-12-13 18:55 UTC] liamr at umich dot edu
Description:
------------
Net_Socket 1.0.2 could handle unix (file system) sockets in addition to TCP/IP sockets. The gethostbyname() logic around ln ~102 prevents you from passing it a file name instead of a hostname.
[2004-12-13 21:07 UTC] liamr at umich dot edu
Stuff like...
/var/tmp/imsp.0eb8fd40beeda8b1c1508247d6a92f62.sock
/var/tmp/sieve.0eb8fd40beeda8b1c1508247d6a92f62.sock
Maybe if you only supported fully qualified paths and checked for the presence of slashes?
[2004-12-13 21:54 UTC] liamr at umich dot edu
That diff seems to work just fine. Thanks very much!