"Jaret Brower" <br******@nospam.nospam> wrote in message
news:7B**********************************@microsof t.com...
Is there a different way to send serialized data other then Socket.Send()
or remoting? I was able to get it to work just sending the bitmaps bytes,
but would definately rather serialize.
It will work using the send method.
As you've noticed, you need to be able to let the receiving party know when
they've received enough data. You can do this by sending a special
termination character over the wire after completion, or by sending the size
first. Now, since you say you're getting a negative number when you send the
size, it would tend to suggest that you're doing something a little funky
somewhere. Have you tried a simple test solution, creating a server and
client, sending a simple custom type over the wire?
If you can distill it down to a simple solution (I'm not too bright) either
post it or email it to me and I'll have a look at it. Depending on when you
send it, I may be a while replying as I'm off on holiday soon for a week.
--
Regards,
Tim Haughton
Agitek
http://agitek.co.uk http://blogitek.com/timhaughton