-
Notifications
You must be signed in to change notification settings - Fork 0
/
snac_02_15.html
158 lines (140 loc) · 4.55 KB
/
snac_02_15.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
<html>
<head>
<title>SNAC(02,15) query user online info</title>
<style type="text/css">
body {background-color: white; font-size: 13px;}
td {font-size: 16px;}
.corr {color:red;}
</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">SNAC(02,15) </font></b></td>
<td width=70% align=right><b><font color="white">CLI_GETxONLINExUSERxINFO </font></b></td>
</tr>
</table>
</td></tr>
</table>
</td></tr></table>
<table width=640 cellSpacing=0 cellPadding=0 border=0>
<tr>
<td>
<br>Query user online info by screen name. Server should respond with
<a href="snac_02_06.html">SNAC(02,06)</a>. <br>
Here is the table for request flags bitmask:
<br><br>
<table width=100% bgcolor=darkblue cellSpacing=0 cellPadding=0 border=0><tr><td>
<table width=100% cellSpacing=2 cellPadding=0 border=0><tr><td bgcolor=#E5E5E5>
<table width=100% cellSpacing=1 cellPadding=1 border=0>
<tr>
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x00000001 </b></td>
<td bgcolor=#f9f9f9 valign=top> User profile requested (tlv(1)/tlv(2))</td>
</tr>
<tr>
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x00000002 </b></td>
<td bgcolor=#f9f9f9 valign=top> User away message requested (tlv(3)/tlv(4))</td>
</tr>
<tr>
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x00000004 </b></td>
<td bgcolor=#f9f9f9 valign=top> User capability block requested (tlv(5))</td>
</tr>
<tr>
<td bgcolor=#f9f9f9 width=70 valign=top> <b>0x00000008 </b></td>
<td bgcolor=#f9f9f9 valign=top> Certification info requested (tlv(1b) ?)</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=640 cellSpacing=0 cellPadding=0 align=center border=0>
<tr>
<td width=169> 00 02</td>
<td width=5> </td>
<td>word</td>
<td width=5> </td>
<td width=55%>SNAC family</td>
</tr>
<tr>
<td> 00 15</td>
<td> </td>
<td>word</td>
<td> </td>
<td>SNAC subtype</td>
</tr>
<tr>
<td> 00 00</td>
<td> </td>
<td>word</td>
<td> </td>
<td>SNAC flags</td>
</tr>
<tr>
<td> xx xx xx xx</td>
<td> </td>
<td>dword</td>
<td> </td>
<td>SNAC request-id</td>
</tr>
</table>
</td></tr>
<tr><td bgcolor=#E9E9E9>
<table width=640 cellSpacing=0 cellPadding=0 align=center border=0 >
<tr>
<td width=169> xx xx xx xx</td>
<td width=5> </td>
<td>dword</td>
<td width=5> </td>
<td width=55%>Request flags</td>
</tr>
<tr>
<td width=169> xx</td>
<td width=5> </td>
<td>byte</td>
<td width=5> </td>
<td width=55%>length of screen name</td>
</tr>
<tr>
<td> xx ..</td>
<td> </td>
<td>string</td>
<td> </td>
<td>screen name</td>
</tr>
</table>
</td></tr></table>
</td></tr></table>
</td></tr></table>
<br>Example SNAC dump with flap header:
<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>
<font size=3><pre style="font-size: 13px">
2A 02 58 44 00 17 00 02 00 15 00 00 00 04 00 15 *.XD............
00 00 00 01 08 73 6F 6D 65 6E 69 63 6B .....somenick
</pre></font>
</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>