what is the best way to pass data in socket with limited bandwidth

C

chrisben

Hi,

I have a bunch of data with basic structure as
class A{
public string;
public float:
public DateTime;
public int;
}

I originally pass it by socket as a xml string. However, due the large
volume of data and limited bandwidth, it seems not an efficient way. So in
C#, what is the best way to pass the data in socket with a compressed size?
Thanks

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top