Difference between revisions of "Development:Network:process dock"
From Ghoulwiki
Ghoulsblade (talk | contribs) |
Ghoulsblade (talk | contribs) |
||
Line 4: | Line 4: | ||
=== packetlog by wireshark === | === packetlog by wireshark === | ||
see [[Development:Network:packetlog_dock]] | see [[Development:Network:packetlog_dock]] | ||
− | |||
− | |||
− | |||
<pre> | <pre> | ||
− | / | + | -- packetlogs/dock.c |
− | + | Packet({from=client,cmd=CMD_TARGET,head={{len=20,pri=1,flags=0x0},{cmd=22,serial=129,datalen=4,flags=0x0}}}) | |
− | + | Packet({from=client,cmd=CMD_DOCK,head={{len=20,pri=1,flags=0x0},{cmd=38,serial=129,datalen=4,flags=0x0}}}) | |
− | + | Packet({from=client,cmd=CMD_DOCK,head={{len=20,pri=1,flags=0xb2},{cmd=38,serial=129,datalen=4,flags=0x0}}}) | |
− | + | Packet({from=client,cmd=CMD_DOCK,head={{len=20,pri=1,flags=0x0},{cmd=38,serial=129,datalen=4,flags=0x0}}}) | |
− | + | Packet({from=server,cmd=CMD_DOCK,head={{len=25,pri=1,flags=0x7a},{cmd=38,serial=129,datalen=9,flags=0x0}}}) | |
− | + | Packet({from=server,cmd=CMD_SAVEDATA,head={{len=45,pri=1,flags=0x7a},{cmd=49,serial=0,datalen=29,flags=0x0}}}) | |
− | + | Packet({from=server,cmd=CMD_SAVEDATA,head={{len=54,pri=1,flags=0x7a},{cmd=49,serial=0,datalen=38,flags=0x0}}}) | |
− | + | Packet({from=server,cmd=CMD_SAVEDATA,head={{len=67,pri=1,flags=0x7a},{cmd=49,serial=0,datalen=51,flags=0x0}}}) | |
− | + | Packet({from=server,cmd=CMD_SAVEDATA,head={{len=220,pri=1,flags=0x7a},{cmd=49,serial=0,datalen=204,flags=0x0}}}) | |
− | + | .... dozens of CMD_SAVEDATA .... | |
− | + | Packet({from=server,cmd=CMD_SAVEDATA,head={{len=32,pri=1,flags=0x7a},{cmd=49,serial=0,datalen=16,flags=0x0}}}) | |
− | + | Packet({from=client,cmd=CMD_CUSTOM,head={{len=46,pri=1,flags=0x0},{cmd=51,serial=129,datalen=30,flags=0x0}}}) | |
− | + | Packet({from=server,cmd=CMD_CUSTOM,head={{len=44,pri=1,flags=0x7a},{cmd=51,serial=129,datalen=28,flags=0x0}}}) | |
− | + | Packet({from=client,cmd=CMD_CUSTOM,head={{len=59,pri=1,flags=0x0},{cmd=51,serial=129,datalen=43,flags=0x0}}}) | |
− | + | Packet({from=server,cmd=CMD_CUSTOM,head={{len=38,pri=1,flags=0x7a},{cmd=51,serial=129,datalen=22,flags=0x0}}}) | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</pre> | </pre> |
Latest revision as of 20:36, 17 June 2012
example packetlog
packetlog by wireshark
see Development:Network:packetlog_dock
-- packetlogs/dock.c Packet({from=client,cmd=CMD_TARGET,head={{len=20,pri=1,flags=0x0},{cmd=22,serial=129,datalen=4,flags=0x0}}}) Packet({from=client,cmd=CMD_DOCK,head={{len=20,pri=1,flags=0x0},{cmd=38,serial=129,datalen=4,flags=0x0}}}) Packet({from=client,cmd=CMD_DOCK,head={{len=20,pri=1,flags=0xb2},{cmd=38,serial=129,datalen=4,flags=0x0}}}) Packet({from=client,cmd=CMD_DOCK,head={{len=20,pri=1,flags=0x0},{cmd=38,serial=129,datalen=4,flags=0x0}}}) Packet({from=server,cmd=CMD_DOCK,head={{len=25,pri=1,flags=0x7a},{cmd=38,serial=129,datalen=9,flags=0x0}}}) Packet({from=server,cmd=CMD_SAVEDATA,head={{len=45,pri=1,flags=0x7a},{cmd=49,serial=0,datalen=29,flags=0x0}}}) Packet({from=server,cmd=CMD_SAVEDATA,head={{len=54,pri=1,flags=0x7a},{cmd=49,serial=0,datalen=38,flags=0x0}}}) Packet({from=server,cmd=CMD_SAVEDATA,head={{len=67,pri=1,flags=0x7a},{cmd=49,serial=0,datalen=51,flags=0x0}}}) Packet({from=server,cmd=CMD_SAVEDATA,head={{len=220,pri=1,flags=0x7a},{cmd=49,serial=0,datalen=204,flags=0x0}}}) .... dozens of CMD_SAVEDATA .... Packet({from=server,cmd=CMD_SAVEDATA,head={{len=32,pri=1,flags=0x7a},{cmd=49,serial=0,datalen=16,flags=0x0}}}) Packet({from=client,cmd=CMD_CUSTOM,head={{len=46,pri=1,flags=0x0},{cmd=51,serial=129,datalen=30,flags=0x0}}}) Packet({from=server,cmd=CMD_CUSTOM,head={{len=44,pri=1,flags=0x7a},{cmd=51,serial=129,datalen=28,flags=0x0}}}) Packet({from=client,cmd=CMD_CUSTOM,head={{len=59,pri=1,flags=0x0},{cmd=51,serial=129,datalen=43,flags=0x0}}}) Packet({from=server,cmd=CMD_CUSTOM,head={{len=38,pri=1,flags=0x7a},{cmd=51,serial=129,datalen=22,flags=0x0}}})