Using socket with objects

  • Thread starter Thread starter Sebastiano
  • Start date Start date
S

Sebastiano

I want to use socket technology for passing object between different
machines. But I saw that Socket.Send accepts only array of bytes. What can I
do? Do I have to serialize the object in XML?

Bye

Sebastiano
 
You'll have to serialize to binary on your own if you use raw sockets.
Otherwise you may want to consider .NET remoting.
 
Back
Top