I suggest you research .NET remoting and web services. Search around Google or MSDN and you'll find a ton of topics.
There is a remoting thread you can post questions on. That would be a more appropriate place then a C# thread.
Remoting will allow you to serialize and deserialize objects and pass them through registered channels via TCP or HTTP connections.
You have your choice of serializers for SOAP XML or Binary depending on the context of your application and it's data. The web
services framework is integrated into the VS.NET IDE so it's easy to create web services (for sending objects and data over the
internet) with a few clicks.
Good Luck.
--
Dave Sexton
ds*************@somethingdigitalBYE-SPAM.com (remove BYE-SPAM)
[Please do not reply by email unless asked to]
-----------------------------------------------------------------------
"Glenn Wilson" <Gl*********@discussions.microsoft.com> wrote in message news:3C**********************************@microsof t.com...
I have done some reading and found that I think I need to serialize the
object. I am now looking for examples on doing this with an Object.
I need to serialize the object, then send it down the TCP Connection (Bytes)
and then rebuild it later. What streams and Methods do I use. Examples would
be great.
"Glenn Wilson" wrote:
I am writing a network system for project I am working on. How would I send a
class or structure to the clients and recieve one back.
Or how would I go about building a packet with a header and other
information and then be able to break it apart when I recieve it at the other
end. These packets can be of Varible length but would always have the same
header. I want to build someting simular to the DirectPlay System of packets
and networking.