ID
|
Origin
|
Name
|
Foodgroup
|
Service
|
Status
|
Version
|
0x0015, 0x0003
|
Host
|
ICQ__DB_REPLY
|
ICQ
|
BOS
|
Active
|
1.2
|
From Aleksandr Shutko: SNAC(15,03)/07DA/01AE SRV_LAST_USER_FOUND
This is the server response to search request. This is the last search packet.
SNAC flags bit1 allways=0. Server sends non-last search found records via
SNAC(15,03)/07DA/01A4.
00 15 |
|
word |
|
SNAC family |
00 03 |
|
word |
|
SNAC subtype |
00 01 |
|
word |
|
SNAC flags |
xx xx xx xx |
|
dword |
|
SNAC request-id |
|
|
|
00 01 |
|
word |
|
TLV.Type(1) - encapsulated META_DATA |
xx xx |
|
word |
|
TLV.Length |
|
|
|
xx xx |
|
word (LE) |
|
data chunk size (TLV.Length-2) |
xx xx xx xx |
|
dword (LE) |
|
request owner uin |
DA 07 |
|
word (LE) |
|
data type: META_DATA |
02 00 |
|
word (LE) |
|
request sequence number |
A4 01 |
|
word (LE) |
|
data subtype: META_USER_FOUND |
|
0A |
|
char |
|
success byte |
|
xx xx |
|
word (LE) |
|
following data size |
|
xx xx xx xx |
|
dword (LE) |
|
found user uin |
xx xx |
|
word (LE) |
|
nickname string length |
xx .. xx 00 |
|
asciiz str |
|
nickname string |
xx xx |
|
word (LE) |
|
first name string length |
xx .. xx 00 |
|
asciiz str |
|
first name string |
xx xx |
|
word (LE) |
|
last name string length |
xx .. xx 00 |
|
asciiz str |
|
last name string |
xx xx |
|
word (LE) |
|
email string length |
xx .. xx 00 |
|
asciiz str |
|
email string |
xx |
|
char |
|
authorization flag |
xx xx |
|
word (LE) |
|
online status (0 - offline, 1 - online, 2 - non_webaware) |
xx |
|
char |
|
gender |
xx xx |
|
word (LE) |
|
age |
xx xx xx xx |
|
dword (LE) |
|
found users left (0 - seach return all users) |
|
|
| |
|
|
|
| |
|
|
|
|
Example SNAC dump with flap header:
2A 02 5A 60 00 64 00 15 00 03 00 00 00 06 00 02 *.Z`.d..........
00 01 00 56 54 00 8F E4 5E 00 DA 07 07 00 AE 01 ...VT...^.......
0A 43 00 8F E4 5E 00 0A 00 52 65 67 72 65 73 73 .C...^...Regress
6F 72 00 09 00 41 6C 65 78 61 6E 64 72 00 07 00 or...Alexandr...
53 68 75 74 6B 6F 00 17 00 41 56 73 68 75 74 6B Shutko...AVshutk
6F 40 6D 61 69 6C 2E 6B 68 73 74 75 2E 72 75 00 o@mail.khstu.ru.
01 02 00 00 00 00 00 00 00 00 ..........
|
|