Transmitting complex objects using TCP

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 7:13 UTC
Read the original article Hit count: 144

Filed under:
|

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 transmit this object at from client and again de-serialize it into appropriate object at server side.

© Stack Overflow or respective owner

Related posts about c#

Related posts about tcp