Commit 1b224d8b authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 1e468ff0
......@@ -24,11 +24,11 @@
// ID of subconnection multiplexed on top of the underlying link, carried
// message code and message data.
//
// PktHeaderN describes packet header structure. XXX + msgpack
// PktHeaderN describes packet header structure in 'N' encoding.
//
// Messages are represented by corresponding types that all implement Msg interface.
//
// A message type can be looked up by message code with MsgType. XXX unpublish ?
// A message type can be looked up by message code with MsgType.
//
// The proto packages provides only message definitions and low-level
// primitives for their marshalling. Package lab.nexedi.com/kirr/neo/go/neo/neonet
......@@ -80,7 +80,7 @@ const (
// the high order byte 0 is different from TLS Handshake (0x16). XXX update for msgpack
Version = 6
// length of packet header in 'N'-encoding XXX unpublish?
// length of packet header in 'N'-encoding
PktHeaderLenN = 10 // = unsafe.Sizeof(PktHeaderN{}), but latter gives typed constant (uintptr)
// packets larger than PktMaxSize are not allowed.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment