[Mono-list] Remoting DataSets
Helge Lenuweit
helge@lenuweit.net
Fri, 26 Mar 2004 10:55:56 +0100
Hi,
I'm interested in mono's interoperating possibilities with the MS
framework using remoting. Several small examples passing around basic
types worked fine (Besides, congratulations on the work that has been
done!). Unfortunately, remoting a Dataset wasn't possible.
I understand that if I intend to use TcpChannel/BinaryFormatter the
binary representation of the information passed on the wire needs to be
the same on the Microsoft side and on the mono side. As a consequence, I
get RemotingExceptions like "Underlying socket was closed" (Windows/NET
trying to access a Windows/mono Server). My general problem is that even
when I use mono on both sides (and on one machine), an exception is
thrown ("Unknown response message from server") when trying to remote a
DataSet, while it works with .NET 1.1 on both sides.
Are there any ways to achieve this currently? If not, which types are
generally "safe" to remote, especially cross-platform?
Thanks for your help,
Helge