Connecting to a socket

Hi everyone,
I've got a mailfilter (dspam) that runs in a daemon mode and thus can be
connected to via a socket /tmp/dspam.sock.

How do would I use Ruby to connect to this socket?

Petr

···

--
Posted via http://www.ruby-forum.com/.

A two-second google search found this.

http://www.google.ca/search?hl=en&q=ruby%20socket&btnG=Google+Search&meta=

Mike

···

On 4/29/07, Petr <petr@punchyouremployer.com> wrote:

Hi everyone,
I've got a mailfilter (dspam) that runs in a daemon mode and thus can be
connected to via a socket /tmp/dspam.sock.

How do would I use Ruby to connect to this socket?

--
Michael P. Soulier <msoulier@digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein