-
Notifications
You must be signed in to change notification settings - Fork 0
/
icq_search.html
274 lines (223 loc) · 9.91 KB
/
icq_search.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
<html>
<head>
<title>ICQ Search sequences in OSCAR protocol</title>
<style type="text/css">
body {background-color: white; font-size: 13px;}
td {font-size: 16px;}
</style>
</head>
<body bgcolor=white>
<table width=640 bgcolor=darkblue cellSpacing=0 cellPadding=0 border=0><tr><td>
<table width=100% cellSpacing=2 cellPadding=0 border=0><tr><td bgcolor=#4040FF >
<table width=100% cellSpacing=0 cellPadding=0 border=0>
<tr>
<td><b><font color="white"> OSCAR sequences </font></b></td>
<td width=40% align=right><b><font color="white"> </font></b></td>
</tr>
</table>
</td></tr>
</table>
</td></tr></table>
<br>
<table width=640 bgcolor=darkblue cellSpacing=0 cellPadding=0 border=0><tr><td>
<table width=100% cellSpacing=2 cellPadding=0 border=0><tr><td bgcolor=#E9E9E9>
<table width=100% cellSpacing=0 cellPadding=0 bgcolor="#4040FF" border=0>
<tr>
<td><b><font size=2 color="white"> <a name="description"></a> ICQ search sequences description</font></b></td>
</tr>
</table>
</td></tr>
<tr><td bgcolor=#E9E9E9>
<table width=100% cellSpacing=0 cellPadding=0 border=0>
<tr><td colspan=3 height=5></td></tr>
<tr><td width=5> </td>
<td>
ICQ clients use family 0x15 for search. This family was added by AOL programmers
for compatibility with old ICQ server database engine. There is many search types:
uin search, details (nick, firstname, lastname, email) search, whitepages search.
Currently there is two search formats supported: old-style plain format and
new tlv-based format. Both plain and tlv formats support wildcards in search
fields, but plain version has separate requests for this future.<br><br>
After request were sent server should reply via
<a href="snac_15_03_07da_01a4.html">SNAC(15,03)/07DA/01A4</a>, ..... ,
<a href="snac_15_03_07da_01a4.html">SNAC(15,03)/07DA/01A4</a>,
<a href="snac_15_03_07da_01ae.html">SNAC(15,03)/07DA/01AE</a>
sequence. It also can send only
<a href="snac_15_03_07da_01ae.html">SNAC(15,03)/07DA/01AE</a> packet when one
user found. When search return no users server sends empty
<a href="snac_15_03_07da_01ae.html">SNAC(15,03)/07DA/01AE</a> with result flag != 0x0A
<br><br>
<table width=100% cellSpacing=0 cellPadding=0 align=center border=0>
<tr><td width=20></td>
<td>
<table width=580 bgcolor=darkblue cellSpacing=0 cellPadding=0 border=0><tr><td>
<table width=100% cellSpacing=2 cellPadding=0 border=0><tr><td bgcolor=#7070D0><b><font size=2 color=white> Typical search sequence</font></b></td></tr>
<tr><td bgcolor=#E5E5E5>
<table width=580 cellSpacing=1 cellPadding=1 border=0>
<tr>
<td bgcolor=#f9f9f9 width=35 valign=top> <b>>></b></td>
<td bgcolor=#f9f9f9 width=200 valign=top> <b>SNAC(15,02)/07D0/05xx</b></td>
<td bgcolor=#f9f9f9 valign=top> Client sends search request</td>
</tr>
<tr>
<td bgcolor=#f9f9f9 valign=top> <b><<</b></td>
<td bgcolor=#f9f9f9 valign=top> <b><a href="snac_15_03_07da_01a4.html">SNAC(15,03)/07DA/01A4</a></b></td>
<td bgcolor=#f9f9f9 valign=top> Server sends found user #1 info</td>
</tr>
<tr>
<td bgcolor=#f9f9f9 valign=top> <b><<</b></td>
<td bgcolor=#f9f9f9 valign=top> <b>...</b></td>
<td bgcolor=#f9f9f9 valign=top> <b>...</b></td>
</tr>
<tr>
<td bgcolor=#f9f9f9 valign=top> <b><<</b></td>
<td bgcolor=#f9f9f9 valign=top> <b><a href="snac_15_03_07da_01a4.html">SNAC(15,03)/07DA/01A4</a></b></td>
<td bgcolor=#f9f9f9 valign=top> Server sends found user #N-1 info</td>
</tr>
<tr>
<td bgcolor=#f9f9f9 valign=top> <b><<</b></td>
<td bgcolor=#f9f9f9 valign=top> <b><a href="snac_15_03_07da_01ae.html">SNAC(15,03)/07DA/01AE</a></b></td>
<td bgcolor=#f9f9f9 valign=top> Server sends last user #N found info</td>
</tr>
</table>
</td></tr>
</table>
</td></tr></table>
</td></tr>
</table>
<br>
</td>
<td width=15></td></tr>
</table>
</td></tr>
</table>
</td></tr></table>
<br>
<table width=640 bgcolor=darkblue cellSpacing=0 cellPadding=0 border=0><tr><td>
<table width=100% cellSpacing=2 cellPadding=0 border=0><tr><td bgcolor=#E9E9E9>
<table width=100% cellSpacing=0 cellPadding=0 bgcolor="#4040FF" border=0>
<tr>
<td><b><font size=2 color="white"> <a name="plain"></a> ICQ search plain requests</font></b></td>
</tr>
</table>
</td></tr>
<tr><td bgcolor=#E9E9E9>
<table width=100% cellSpacing=0 cellPadding=0 border=0>
<tr><td colspan=3 height=5></td></tr>
<tr><td width=5> </td>
<td>
These requests named "plain" because they contain plain search strings and numbers.
This information is not structured and these fields placed in strict defined order.
If string is empty or number=0 it is doesn't used in search.<br><br>
<table width=100% cellSpacing=0 cellPadding=0 align=center border=0>
<tr><td width=20></td>
<td>
<table width=580 bgcolor=darkblue cellSpacing=0 cellPadding=0 border=0><tr><td>
<table width=100% cellSpacing=2 cellPadding=0 border=0><tr><td bgcolor=#7070D0><b><font size=2 color=white> Search requests (plain)</font></b></td></tr>
<tr><td bgcolor=#E5E5E5>
<table width=580 cellSpacing=1 cellPadding=1 border=0>
<tr>
<td bgcolor=#f9f9f9 width=200 valign=top> <b><a href="snac_15_02_07d0_051f.html">SNAC(15,02)/07D0/051F</a></b></td>
<td bgcolor=#f9f9f9 valign=top> Search by uin plain request</td>
</tr>
<tr>
<td bgcolor=#f9f9f9 width=200 valign=top> <b><a href="snac_15_02_07d0_0515.html">SNAC(15,02)/07D0/0515</a></b></td>
<td bgcolor=#f9f9f9 valign=top> Search by details plain request</td>
</tr>
<tr>
<td bgcolor=#f9f9f9 width=200 valign=top> <b><a href="snac_15_02_07d0_053d.html">SNAC(15,02)/07D0/053D</a></b></td>
<td bgcolor=#f9f9f9 valign=top> Search by details plain wildcard request</td>
</tr>
<tr>
<td bgcolor=#f9f9f9 width=200 valign=top> <b><a href="snac_15_02_07d0_0529.html">SNAC(15,02)/07D0/0529</a></b></td>
<td bgcolor=#f9f9f9 valign=top> Search by email plain request</td>
</tr>
<tr>
<td bgcolor=#f9f9f9 width=200 valign=top> <b><a href="snac_15_02_07d0_0547.html">SNAC(15,02)/07D0/0547</a></b></td>
<td bgcolor=#f9f9f9 valign=top> Search by email plain wildcard request</td>
</tr>
<tr>
<td bgcolor=#f9f9f9 width=200 valign=top> <b><a href="snac_15_02_07d0_0533.html">SNAC(15,02)/07D0/0533</a></b></td>
<td bgcolor=#f9f9f9 valign=top> Whitepages search plain request</td>
</tr>
<tr>
<td bgcolor=#f9f9f9 width=200 valign=top> <b><a href="snac_15_02_07d0_0551.html">SNAC(15,02)/07D0/0551</a></b></td>
<td bgcolor=#f9f9f9 valign=top> Whitepages search plain wildcard request</td>
</tr>
</table>
</td></tr></table>
</td></tr></table>
</td></tr></table>
<br>
</td><td width=15>
</td></tr></table>
</td></tr></table>
</td></tr></table>
<br>
<table width=640 bgcolor=darkblue cellSpacing=0 cellPadding=0 border=0><tr><td>
<table width=100% cellSpacing=2 cellPadding=0 border=0><tr><td bgcolor=#E9E9E9>
<table width=100% cellSpacing=0 cellPadding=0 bgcolor="#4040FF" border=0><tr>
<td><b><font size=2 color="white"> <a name="tlv"></a> ICQ search tlv-based requests</font></b></td>
</tr>
</table>
</td></tr>
<tr><td bgcolor=#E9E9E9>
<table width=100% cellSpacing=0 cellPadding=0 border=0>
<tr><td colspan=3 height=5></td></tr>
<tr><td width=5> </td>
<td>
These requests information placed in TLV chains. So it is structured. Client
should put only needed fields to these requests. This set doesn't contain
search by details request because it was replaced by white pages search.
<br><br>
<table width=100% cellSpacing=0 cellPadding=0 align=center border=0>
<tr><td width=20></td>
<td>
<table width=580 bgcolor=darkblue cellSpacing=0 cellPadding=0 border=0><tr><td>
<table width=100% cellSpacing=2 cellPadding=0 border=0><tr><td bgcolor=#7070D0><b><font size=2 color=white> Search requests (tlv-based)</font></b></td></tr>
<tr><td bgcolor=#E5E5E5>
<table width=580 cellSpacing=1 cellPadding=1 border=0>
<tr>
<td bgcolor=#f9f9f9 width=200 valign=top> <b><a href="snac_15_02_07d0_0569.html">SNAC(15,02)/07D0/0569</a></b></td>
<td bgcolor=#f9f9f9 valign=top> Search by uin tlv-based request</td>
</tr>
<tr>
<td bgcolor=#f9f9f9 width=200 valign=top> <b><a href="snac_15_02_07d0_0573.html">SNAC(15,02)/07D0/0573</a></b></td>
<td bgcolor=#f9f9f9 valign=top> Search by email tlv-based request</td>
</tr>
<tr>
<td bgcolor=#f9f9f9 width=200 valign=top> <b><a href="snac_15_02_07d0_055f.html">SNAC(15,02)/07D0/055F</a></b></td>
<td bgcolor=#f9f9f9 valign=top> Whitepages search tlv-based request</td>
</tr>
</table>
</td></tr></table>
</td></tr></table>
</td></tr></table>
<br>
</td><td width=15>
</td></tr></table>
</td></tr></table>
</td></tr></table>
<br>
<table width=640 bgcolor=darkgray cellSpacing=0 cellPadding=0 border=0><tr><td>
<table width=100% cellSpacing=2 cellPadding=0 border=0><tr><td bgcolor=#E9E9E9><table width=100% cellSpacing=0 cellPadding=0 border=0>
<tr><td align=center valign=middle><b><font color=black size=2>
<a href="index.html" target="_top">Main</a> |
<a href="basic.html" target="_top">Basic</a> |
<a href="login.html" target="_top">Login</a> |
<a href="families.html" target="_top">Snaclist</a> |
<a href="sequences.html" target="_top">Sequences</a> |
<a href="lists.html" target="_top">Misc</a> |
<a href="changes.html" target="_top">Changes</a> |
<a href="credits.html" target="_top">Credits</a> |
<a href="terms.html" target="_top">Terms</a>
</font></b></td></tr></table>
</td></tr></table>
</td></tr></table>
<!--#include virtual="_bottom.htxt" -->
</body>
</html>