[icq-devel] Additional Emails count



Remy Lebeau gambit47 at yahoo.com
Thu Sep 11 03:50:50 CEST 2003


--- Vadim Winebrand <amilw at bezeqint.net> wrote:

> So what are the rules?. when the server gives 0 or
> actual count?

I didn't know the server was even capable of returning
0.  Obviously, it doesn't make sense to do so, if a
client is expecting that count to be valid, as yours
obviously was.  You either came across a server
glitch, a transission glitch, or an undocumented
server feature.  Either way, the workaround I posted
makes it so that it doesn't matter whether there is
any count value available or not, the addresses can
still be parsed regardless.  If the count really is 0
and no addresses exist, the packet size will end after
the count byte.  But if addresses do exist even though
the count is 0, the loop catches that and continues on
anyway.


Gambit

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com



More information about the icq-devel mailing list