[Mono-list] multiple targets with delegates

Rohit rohits79@yahoo.com
Tue, 12 Aug 2003 11:09:58 -0700 (PDT)

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

 This is my very first post to the list and i would
like to pass on my very warm wishes for the great
project we are working on.

While starting off with mono I have some doubts like

If i create a delegate with multiple targets and call
BeginInvoke on the delegate I get different behaviour
in .Net and Mono. Please see the attached file. .Net
does not allow to call BeginInvoke and gives a run
time exception, while Mono has no problems. 

Do we have System.Net, can i get any sample as to how
to put my network card into promiscuous mode?
Since i couldn't run monodoc and go-mono didnt work
for me i need to find out if we have
System.Net.Sockets working for us ?

When i run monodoc i get this output

** (<unknown>:1444): WARNING **: Failed to load
library ./libgtkhtml-3.0.so.2 (libgtkhtml-3.0.so.2):
./libgtkhtml-3.0.so.2: cannot open shared object file:
No such file or directory

** (<unknown>:1444): WARNING **: Missing method
AppendColumn in assembly browser.exe typeref index 34

Unhandled Exception: System.NullReferenceException: A
null value was found where an object instance was
in (unmanaged) 00 .TreeBrowser:.ctor
in <0x001c3> 00 .Browser:.ctor ()
in <0x0017b> 00 .Browser:Main (string[])

i have the libgtkhtml.so. files and i did ldconfig but
still i get the above warning? 


Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
Content-Type: text/x-c++src; name="delgates.cs"
Content-Description: delgates.cs
Content-Disposition: inline; filename="delgates.cs"

using System;

namespace rohit

public delegate void func();
public class publisher

public   func onfunc;
public publisher()


public void callme()
System.Console.WriteLine("am called");

public void callmetoo()

System.Console.WriteLine("me too called");

public void fire()


public class mymain
	public static void Main()
		publisher pub= new publisher();
		pub.onfunc+= new func(pub.callme);
		pub.onfunc+= new func(pub.callmetoo);