From: Joel VanderWerf Date: 2007-10-11T06:03:50+09:00 Subject: Re: Inter-Process Messaging Gary Wright wrote: > > Daniel DeLorme wrote: >> Right now I can think of some messaging primitives: >> - TCPServer/TCPSocket >> - UNIXServer/UNIXSocket (unstable?) >> - IO.pipe (doesn't need port#) >> - Process.kill (impossible to send data) > > Not that it would be useful but I guess that if you used > two different signals (say SIGUSR1 and SIGUSR2) then you've > got a method of communicating a sequence of binary digits > to another process. If you've got a reasonably accurate > way of timing things you could just manage this with a single > signal because the absence of the signal could be detected. I smell a ruby quiz: implement drb messaging on top of sigusr[12]. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407