[Mono-list] Re moting from Mono to Windows freezes

Sire404 simon at clarobet.com
Fri Jun 5 13:48:40 EDT 2009

I have a simple remoting example that works fine when both client and server
are run in Mono, but freezes (not crashes!) when running the server on
Windows and the client in Mono. Complete code attached (I use Visual Studio

(I run both applications on Windows Mono, but the exact same error happens
when running the client on Ubuntu). Mono 2.4 of course.
In short:

mono client.exe
= freeze

mono server.exe
mono client.exe
= works fine

Mono freezes on the line "remoteData = new RemoteData()" which tries to
create the remote object.

The object being sent is just a class with a string, so serialization
shouldn't be an issue.

The sample app consists of a client connecting to server, and the server
sending the message back with an event. 

Sample is based on this code:
Changes made: client was remade into a console app and we send a class
instead of a string.

Anyone have any ideas why this is happening or how I can debug it better?
Any help is greatly appreciated, thanks.

View this message in context: http://www.nabble.com/Remoting-from-Mono-to-Windows-freezes-tp23892717p23892717.html
Sent from the Mono - General mailing list archive at Nabble.com.

More information about the Mono-list mailing list