[Mono-list] Zeroconf

William S Fulton wsf at fultondesigns.co.uk
Mon Jun 13 17:28:14 EDT 2005

Milen Dzhumerov wrote:
> Hi all,
> I've to write an application which will be used on a network. The
> application will consist of a daemon which is listening on all the
> computers on the network and a Mono GUI application. The thing is that I
> need to have an easy way to detect all the computers which are running
> the daemon so I can send commands. There also will be a special computer
> which will be storing central information and I need to know its IP
> address too. The only solution to this which I could think of is using
> Zeroconf and publishing services on the network. The thing is that I
> couldn't find a C# wrapper for libhowl(the Zeroconf C library). So my
> options here are writing a wrapper around it(i don't even have an idea
> how to do this, only that I have to deal with P/Invoke) or using a
> native library. 
Look at the interop guide for writing wrappers: 
http://www.mono-project.com/Interop_with_Native_Libraries. You could use 
SWIG to help generate the wrappers, http://www.swig.org.


More information about the Mono-list mailing list