المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Sending an object through TCP/IP



C# Programming
01-08-2010, 07:42 PM
Hello,
I've developed a client/server application and now I want to send an custom object through TCP/IP.
I've developed a solution for this, that worked, but I'm not shore it is the best. My solution was to convert the object to byte array and then send it to the server; the server convert the byte array to object and this is it!

Does C# have a pattern for this?

Cheer's,
Alex Manolescu.