> Getting a Sequence
...
> If the client requests any of the following a Fail packet will be
> returned (as they are a violation of the requirements specified
> above). 
>       * a range has already had any part already given (IE no
>         overlaps)
>       * a range specifies a range which starts below the previously
>         ending number (IE requesting from 6 to 10 then 0 to 5)
>       * a range is bigger then the remaining IDs left (IE requesting 6
>         when only 4 remain)
>       * try to use a key from a previous connection

These 4 errors all need specific error codes.   

This was the sort of thing I was complaining about earlier.  All
specific failures should really have their own error code. 

Also each frame should list any error codes it can return.  

You may want to split the error codes too:
 < 0x1000 can occur any frame (as short a list as possible)
        - protocol error
        - frame/framing error
        - Server is farked error
0x1000 + Other errors, per message.

_______________________________________________
tp-devel mailing list
[email protected]
http://www.thousandparsec.net/tp/mailman.php/listinfo/tp-devel

Reply via email to