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

مشاهدة النسخة كاملة : How to send/recieve objects with sockets?



C# Programming
11-01-2009, 07:30 AM
What is the mechanism of converting objects to bytes seqs and recovering them back to send with sockets.

e.g. I need to send some structure over TcpClient and recieve it with TcpListener then send back some more data: strings, structures.

Is serialization used or some other specific approach that works with sockets?

????????