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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top