On Mon, Nov 12, 2001 at 05:45:02PM +0100, Robert Bihlmeyer wrote:
> "Adam Langley" <agl at linuxpower.org> writes:
> 
> > The first four bytes are a standard Freenet protocol switch. The internode
> > protocol also uses them (but a different code of course).
> 
> It feels like a wart to have a plain-text protocol that needs exactly
> 4 bytes in binary. Why not give FCP protocol number 1178816544
> (decimal)?
> 
> > You can enter them using Alt-keypad sequences on the console, and
> > it's only a minor niggle to patch netcat.
> 
> I usually do something like
> 
> $ printf "\0\0\0\02..." | nc 0 8481

I always thought maybe we should change the spec for the session and
presentation IDs so that if a value equal to or greater than 0x2000
is read, it's just ignored in favor of a default.  So if you just
start sending ASCII characters the 00 00 00 02 would be assumed.

Granted this would limit us to 8192 sessions and presentations
instead of 32768.

-- 

:: tavin cole (tcole at espnow.com) ::

if there's been a way to build it
there'll be a way to destroy it
things are not all that out of control

                        - stereolab

_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to