Thank you very much ! It's works !
In the simple-example.cs if I add , the last line something like : Console.ReadLine(); and I try in a browser the URI ...I obtain this error! Now , .Net Remoting and this SimpleChannel implementation there are just some tests ?? Daniel G # mono simple-example.exe OBJREF: /test Channel name: simple Channel priority: 1 URI: simple://mario.x.y.z:8000 URI: /test test function called: True RESULT: 5 Unhandled Exception: System.IO.IOException: Write failure in <0x0016a> 00 System.Net.Sockets.NetworkStream:Write (byte[],int,int) in <0x00367> 00 System.Runtime.Remoting.Channels.Simple.SimpleMessageFormat:SendMessageStream (System.IO.Stream,System.IO.MemoryStream,MessageType,string) in <0x0022d> 00 System.Runtime.Remoting.Channels.Simple.SimpleServerTransportSink:InternalProcessMessage (System.IO.Stream) in <0x0004d> 00 System.Runtime.Remoting.Channels.Simple.SimpleServerChannel:WaitForConnections () in <0x0005b> 01 System.MulticastDelegate:invoke_void () Unhandled Exception: System.ObjectDisposedException: The object was used after being disposed in <0x00094> 00 System.Net.Sockets.NetworkStream:CheckDisposed () in <0x00186> 00 System.Net.Sockets.NetworkStream:Write (byte[],int,int) in <0x00367> 00 System.Runtime.Remoting.Channels.Simple.SimpleMessageFormat:SendMessageStream (System.IO.Stream,System.IO.MemoryStream,MessageType,string) in <0x0022d> 00 System.Runtime.Remoting.Channels.Simple.SimpleServerTransportSink:InternalProcessMessage (System.IO.Stream) in <0x0004d> 00 System.Runtime.Remoting.Channels.Simple.SimpleServerChannel:WaitForConnections () in <0x0005b> 01 System.MulticastDelegate:invoke_void () -------------- --- Lluis Sanchez <[EMAIL PROTECTED]> wrote: > Hi, > > The classes in > System.Runtime.Remoting.Channels.Simple are included > in the > assembly System.Runtime.Remoting.dll, so you only > have to compile like this: > > mcs /r:System.Runtime.Remoting.dll simple-example.cs > > Lluis. > __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
