Groups | Blog | Home
all groups > dotnet general > march 2006 >

dotnet general : Transfering objects between two machines(VB.NET)



Anil
3/18/2006 10:46:57 PM
How to send object instances throgh network to another computer?

My exact requirement :
I want to send messages among chat server and chat clients(may be on
remote machine). I want to store data in fields of a object and then
want to retrieve the values on another machine.

What are the techniques associated with it with reference to VB.NET?
Vadym Stetsyak
3/19/2006 10:34:14 PM
BinaryFormatter class can be used to serialize (store object state into
memory) and send over network.

OTOH you can design your app to use Remoting, then framework will do the job
for serialization and network transfer
(
http://kristopherjohnson.net/cgi-bin/rc/wiki.pl?Tutorials/Basics_Of_Remoting_And_Metadata )

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com

[quoted text, click to view]

AddThis Social Bookmark Button