Yes, the Unix mantra is "everything's a file."
But just because something's a file doesn't mean it has an entry in
the file system.  Files can be either named or unnamed, and
Internet-family sockets are unnamed.
The part of the unlink man page that mentions sockets is talking about
named (unix-family) sockets, which are a horse of a different color.

On Apr 1, 2005 10:15 AM, Davion Kalhen <[EMAIL PROTECTED]> wrote:
> On Mar 31, 2005 3:40 PM, Mike Barton <[EMAIL PROTECTED]> wrote:
> > I have looked at the man page for unlink.  Many times.  It deals with the
> > filesystem, not descriptors.
> 
> I believe *nix's use files for streaming info, etc. So calling unlink
> on the file that represents the players descriptor, will kill the
> connection. Although, Mr. Bunting did not provide the code in which
> strsave was initilzied to store the path to the descriptor, which
> makes it very perlexing on how he actually gets unlink to remove that
> file.
> 
> Davion
> --
> ROM mailing list
> [email protected]
> http://www.rom.org/cgi-bin/mailman/listinfo/rom
>

Reply via email to