2.2.42 DPSP_MSG_PING
The DPSP_MSG_PING packet is used to keep the UDP session active and to optimize the protocol.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DPSP_MSG_HEADER (variable) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
IDFrom |
|||||||||||||||||||||||||||||||
TickCount |
DPSP_MSG_HEADER (variable): Message header for this packet. The Command Value member of this field MUST be set to 22 (0x16). If the DirectPlay 4 Reliable Protocol is used, the header does not contain the size, token, and SockAddr fields.
IDFrom (4 bytes): MUST be set to the identifier of the player who sent the ping.
TickCount (4 bytes): MUST be set to the number of milliseconds that have elapsed since the computer system was started.