[EMAIL PROTECTED] wrote:
<snip>

>
>first- splitted udp packets if the response of a query gets to long
>(discussed here one than one time.)
>
>I found this analysis - describing the rules response - anywhere (qstat I
>think):
>
>splitted to two packets:
>FF FF FF FF 6C [data]
>FE FF FF FF 07 02 00 00 02 FF FF FF FF 6C [data]
>FE FF FF FF 07 02 00 00 12 [data]
>
>splitted to three packets:
>FE FF FF FF 07 02 00 00 03 FF FF FF FF 6C [data]
>FE FF FF FF 07 02 00 00 13 [data]
>FE FF FF FF 07 02 00 00 23 [data]
>
>07 02 00 00 variates and is some kind of challenge numer - an id telling
>which packets schould be one.
>the next byte is splittet into two 4 bit nibles - the upper one describes
>the packet number, the lower one how many packets will be sent.
>
>is this correct???
>
>
>
<snip>

No, its not quiet right. Split packets are denoted by an initial FF FF FF FE tag (rather than FF FF FF FF) (that is, decimal -2 rather than decimal -1). The next byte in a split packet contains 2 4 bit nibbles (mmm, nibbles), with the first 4 bits being the packet number and the last 4 being the total number of packets.
If the packet is the first in the sequence it will then have a FF FF FF FF tag on the first packet and then data (i.e the long packet was simply "packed" inside of multiple shorter packets).



_______________________________________________
hlds_apps mailing list
[EMAIL PROTECTED]
http://list.valvesoftware.com/mailman/listinfo/hlds_apps


Reply via email to