From: Raymond T. <to...@rt...> - 2001-10-23 21:46:41
|
>>>>> "Sam" == Sam Steingold <sd...@gn...> writes: >> * In message <153...@si...> >> You can't create a UNIX socket from the shell, as far as I know. You >> can't interface with them normally via 'cat' and such, either, like >> you can with a FIFO. They're quite a pain in the butt, huh? :) Sam> ouch... Sam> at any rate, unless someone tells me how do I know whether "/foo/bar" is Sam> a socket, there is nothing I could do. On Solaris, there's a S_ISSOCK (see stat(5)). I assume this is how ls knows that /tmp/.X11-unix/X0 is a socket and prints a = after it. Ray |