Re: [gnet-dev] Unix socket unlink func



Exactly.  Which is probably the way it should have been when I wrote it.
I'll check the archives.  Maybe there was a good reason for doing it that
way.

David


On Thu, 25 Oct 2001, Mark Ferlatte wrote:

> I can do that easily enough.
>
> So, just so I'm clear on what you want:
>
> gnet_unix_socket_delete(): ignores reference count and destroys socket
> completely.
>
> gnet_unix_socket_unref(): --refcount; if recount == 0 then delete.
>
> (and I agree, having unlink() did seem messy, but I was trying to be
> consistent with what gnet_tcp* did).


-- 
      __          _    __ David Helder - dhelder umich edu
  ___/ /__ __  __(_)__/ / <http://www.eecs.umich.edu/~dhelder>
 / _  / _ `/ |/ / / _  /  Jungle Monkey: <http://www.junglemonkey.net>
 |_,_/|_,_/|___/_/|_,_/   Paper CD Case: <http://www.papercdcase.com>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]