[Freeciv-Dev] Delta and dynamic size packets
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Before delta, I were using this kind of packets:
{
/* These are sent first... */
int misc_variable_1;
int misc_variable_2;
...
int subpacket_count;
/* ... and then subpacket_count blocks like this are sent */
{
int sp_variable_1;
int sp_variable_2;
}
}
Is there any way to send this as one packet in delta?
If I have to split this into separate packets, one for header and then
subpacket_count separate packets, information in receiving end would be
inconsistent between packets. Building temporary storages or avoiding
usage of inconsistent information altogether would be nightmarish job
(and quite error prone too).
- Caz
- [Freeciv-Dev] Delta and dynamic size packets,
Marko Lindqvist <=
|
|