Network Transfer Question
-
Heyho everyone, I'm currently working on a Network Application with a Client and 3 Servers who split up work. A lot of Data has to be transfered especially to one of those servers. I worked out a Data Packet Layout and I wanted to ask you if you think that this is a good idea. Because I'm not sure. It's an XML-based Packet Communication and looks like this:
<DataPacket>
<Header>
<Some Tag>Blablabla</Some Tag>
<Another Tag>Hello World</Another Tag>
<Checksum>The Checksum</Checksum>
</Header>
<Data>
<Type>Some Type</Type>
<Length>Length</Length>
<Checksum>The Checksum</Checksum>
<Data> Our real Data ! </Data>
</Data>
</DataPacket>So this is the layout. But I'm not really happy with it because I think this is getting a huge bunch of Data. How would you do this ? Or do you have any improvements ? Or shall I maybe don't do this with XML and just as a binary packet ? Thank you, Benedikt -- modified at 23:20 Thursday 20th April, 2006
-
Heyho everyone, I'm currently working on a Network Application with a Client and 3 Servers who split up work. A lot of Data has to be transfered especially to one of those servers. I worked out a Data Packet Layout and I wanted to ask you if you think that this is a good idea. Because I'm not sure. It's an XML-based Packet Communication and looks like this:
<DataPacket>
<Header>
<Some Tag>Blablabla</Some Tag>
<Another Tag>Hello World</Another Tag>
<Checksum>The Checksum</Checksum>
</Header>
<Data>
<Type>Some Type</Type>
<Length>Length</Length>
<Checksum>The Checksum</Checksum>
<Data> Our real Data ! </Data>
</Data>
</DataPacket>So this is the layout. But I'm not really happy with it because I think this is getting a huge bunch of Data. How would you do this ? Or do you have any improvements ? Or shall I maybe don't do this with XML and just as a binary packet ? Thank you, Benedikt -- modified at 23:20 Thursday 20th April, 2006
I need to do something similar too. If you ever find out how to do it, please let me know. Project4Hire.com - Find Freelance Progammers and Graphic Designers for all your project needs