[icq-devel] Message type

Alexandr V. Shutko AVShutko at mail.khstu.ru
Fri May 23 02:17:07 CEST 2003

Hello Fabrice,
Friday, May 23, 2003, 10:15:21 AM, you wrote:

FM> Can someone tell me how i can know, which type of message (1, 2 or 4) i must
FM> send to a remote client ?
There is message channels (1,2,4) and message types... So if client
has serverrelay capability you should send message on channel_2, if
cient doesn't have it (becase it old or offline) you should look at
message type first... If (message type == 0 and message flags == 0) send
a channel_1 messsage else send channel_4 message...

Server may return error after you sent channel_2 message, in that case
you should resend it using channels 1/4

FM> I guess i should look at some capability, but which one ?
{09461349-4C7F-11D1-8222-444553540000} named as "server_relay" by icq
clone developers...

FM> How do i request to see a special capability ?
You can't. You'll receive client capabilities list in user online
SNAC(03,0B). (see format at http://iserverd.khstu.ru/oscar/)

FM> thank for your help.
Sorry for bad english... :)

With respect,
Alexandr V. Shutko                           mailto:AVShutko at mail.khstu.ru

More information about the icq-devel mailing list