On Nov 28, 2007, at 6:55 PM, Curt Sampson wrote:

> On 2007-11-29 07:38 +0900 (Thu), thefed wrote:
>
>> What are some techniques someone would use to accomplish the goal  
>> of a
>> new protocol?
>
> Typically, protocols have state. So I'd start with as clear an
> expression of the protocol state machine as you can generate, and then
> see about twisting it into a DSL that can be implemented in Ruby.

What do you mean by state machine?

I'm looking to implement UDT, which requires custom packet headers  
and all.
Is there some suggested way to do that?

BTW, creating a DSL should be pretty much standard :-)

Thanks,
-Ari