in reply to Re: How to shut down UNIX sockets?
in thread How to shut down UNIX sockets?

Yes, that's what I want to do generally, and I'm having a fair amount of trouble, but I'm not ready to ask for help yet. The problem I asked about was specifically whether IO::Socket::UNIX provides any clean way to exit such that it can start again without failing with EADDRINUSE. I could write the code to unlink the FIFOs if they exist, but then I have to worry about concurrency and so forth.

print pack("A25",pack("V*",map{1919242272+$_}(34481450,-49737472,6228,0,-285028276,6979,-1380265972)))

Replies are listed 'Best First'.
Re^3: How to shut down UNIX sockets?
by hnd (Scribe) on Sep 01, 2009 at 19:44 UTC
    you can look at one of my meditations on chat server....
    and for cleaning the sockets, IO::Select provides the select() function that can specify what you want your socket to do....

    "keep it simple.... stupid :D"
    =====================================================
    i'am worst at what do best and for this gift i fell blessed...
    i found it hard it's hard to find well whatever
    NEVERMIND