flagflag  
1: 2008-12-21 (Sun) 03:29:18 iseki source
Line 1: Line 1:
 +* MSG_APPENDED_ACKS [#efffa8f9]
 +*** 構造 [#y176edf8]
 +- 本来のデータの後にACKデータを追加する.
 +- 古い->新しいパケットの順にパケットのシーケンス番号(4octet Big Endian)を並べ,最後にデータ数(1octet)を追加
 +- Big Endian というよりは,(Little Endianの)データを(バイトを)逆順にして追加.つまり後ろ方向から順に付加しているのだと思う.
 +
 +- 追加ACKデータ書式
 + パケット番号(4octet)    Big Endian
 + パケット番号(4octet)    Big Endian
 + パケット番号(4octet)    Big Endian
 + .......
 + ACKデータ数 (1octet)
 +
 +*** サンプル [#p0f600a0]
 +Low 381 (AgentWearablesRequest) に追加されたACKデータ (パケット番号5, 7に対するACK)
 + V->P [18644]: 0x50 seq = 19 UDP message is  Low 381 ACK 2: 7 5
 + 50 00 00 00 13 00 ff ff 01 7d 90 3c 04 cf 41 13    P . . . . . . . . } . < . . A .
 + 46 0b ba 98 be 71 d4 e5 74 d6 40 86 e3 c0 c9 e0    F . . . . q . . t . @ . . . . .
 + 45 d1 b6 e6 0d 87 ff 71 53 82 00 00 00 05 00 00    E . . . . . . q S . . . . . . .
 + 00 07 02
 +
 + 50 00 00 00 13 00 ff ff 01 7d                      Header
 + 90 3c 04 cf 41 13 46 0b ba 98 be 71 d4 e5 74 d6    AgentID (AgentWearablesRequest)
 + 40 86 e3 c0 c9 e0 45 d1 b6 e6 0d 87 ff 71 53 82    SessionID (AgentWearablesRequest)
 + 00 00 00 05                                        ACK のシーケンス番号(追加部分)
 + 00 00 00 07                                        ACK のシーケンス番号(追加部分)
 + 02                                                シーケンス番号の数(追加部分)


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
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
Today

Who's Online

16 user(s) are online (2 user(s) are browsing xpwiki)

Members: 0
Guests: 16

more...

Access Counter

Today : 1487148714871487
Yesterday : 5790579057905790
Total : 2365428323654283236542832365428323654283236542832365428323654283
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com