Connecting to a socket


#1

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


#2

On 4/29/07, Petr removed_email_address@domain.invalid 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?

A two-second google search found this.

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

Mike