[icq-devel] Additional Emails count
amilw at bezeqint.net
Thu Sep 11 03:40:29 CEST 2003
So what are the rules?. when the server gives 0 or actual count?
----- Original Message -----
From: "Remy Lebeau" <gambit47 at yahoo.com>
To: <icq-devel at blipp.com>
Sent: Thursday, September 11, 2003 2:10 AM
Subject: Re: [icq-devel] Additional Emails count
> --- Vadim Winebrand <amilw at bezeqint.net> wrote:
> > Does someone have more info about this?
> Yup, the count byte is definately 0 in your sample
> (just had to make sure you processed the bytes
> Since the email addresses are the last data in the
> packet after all of the other stuff, once you have
> made it to the count byte, you could just process the
> remaining data in a loop until you reach the end of
> the packet. Then it won't matter what the count byte
> actually states. For example:
> ... process other data...
> count = read byte
> ... ignore count ...
> while (position < packetsize)
> flag = read byte
> increment position by 1
> length = read LE word
> increment position by 2
> email = read length bytes
> increment position by length
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> icq-devel - The forum for ICQ protocol discussion
> For unsubscribe and other mailing list info, see:
More information about the icq-devel