in reply to Re: clashing sockets?
in thread clashing sockets?

clashing in a sense of:
  • there's only 1 script that does the listening
  • and 2 or more clients simultaneously send a query to the listening process.
    would the script that listens be able to capture both of queries or 1 or none?


  • oh, by select you mean select((select(SERVER), $| = 1)[0]); ?

    Replies are listed 'Best First'.
    Re^3: clashing sockets?
    by ikegami (Patriarch) on Sep 07, 2004 at 22:56 UTC

      Shoot, while trying to figure out what sockaddr_un does, I realise these are unix sockets! I can't help you with the clashing questions.

      And no, the other select in perlfunc: select RBITS,WBITS,EBITS,TIMEOUT, or its OO interface, IO::Select

        ahh...i found out that it won't clash. apparently, when you give a buffer size to the recv, it will record it in the buffer, and then execute it.