Forum: Ruby Connecting to a socket

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
B9212f8a8b519c221e9a8760eaf2a586?d=identicon&s=25 Petr (Guest)
on 2007-04-29 07:55
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
9a4ae17201525474ec26e5d89b66477e?d=identicon&s=25 Michael P. Soulier (Guest)
on 2007-04-29 14:06
(Received via mailing list)
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?

A two-second google search found this.

http://www.google.ca/search?hl=en&q=ruby%20socket&...

Mike
This topic is locked and can not be replied to.