Ämne: Re: [dcdev] Re: New Encoding Scheme First |
Från: eric |
Datum: 2003-12-01 7:54 |
Till: Fredrik Tolf |
Kopia: Direct Connect developers <[email protected]> |
In any case, I (and I have understood that I'm not the only one) was
hoping that the new protocol would have standard internet CRLF command
terminators, which will solve the problem in any case.
> 3) unlike us, clients and hubs always know the size of the data to send
> before sending them because they have built the command.
Which is precisely why we can't interact with nodes in that case. But
like I said before, the choice between a text based or binary protocol
is simply a stance we have to take. Shall we hold a poll?
Like Zdenek said in his first mail, endianess isn't a problem; after
all, that's what the htonX functions are for.
In any case, we need to decide on either a fully binary or fully text
protocol. There's no point at all in having some halfbreed stuff. Like
I've said, I believe in a text based protocol, since I think that both
hubs and clients have far worse things than just command parsing to
care about, but if the majority is against me, I will gracefully bow
and yield. Like I said, shall we hold a poll?