Transmitting complex objects using TCP in C#
Posted
by Rakesh K
on Stack Overflow
See other posts from Stack Overflow
or by Rakesh K
Published on 2010-04-12T04:07:12Z
Indexed on
2010/04/12
4:13 UTC
Read the original article
Hit count: 364
c#
Hi,
I have a client server application in which I need to transmit a user defined object from Client to Server using TCP connection. My object is of the following structure:
class Conversation
{
private string convName, convOwner;
public ArrayList convUsers;
public string getConvName()
{
return this.convName;
}
public string getConvOwner()
{
return this.convOwner;
}
}
Please help me how to trnasmit this object at from client and again de-serialize it into appropriate object at server side.
Thanks, Rakesh K.
© Stack Overflow or respective owner