Listening to Multicast.

Dustin Sallings dustin@REDACTED
Tue Apr 27 20:29:20 CEST 2004


On Apr 26, 2004, at 9:18, Jeffrey M. Einhorn wrote:

> Is there an erlang library that allows you to join a multicast group  
> and
> listen to multicast traffic?

	Here's some example code I'm using to watch my thermometers:

	http://bsdboy.west.spy.net/cgi-bin/viewarch.cgi/dustin@spy.net-- 
projects-2004/snippets--erlang--1.0--patch-19/mrecv.erl

	Before this, I was just using a spawned port with a UNIX process which  
worked pretty well.  I prefer more native stuff, though.  :)

-- 
Dustin Sallings




More information about the erlang-questions mailing list