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

.

parent 1e468ff0
...@@ -24,11 +24,11 @@ ...@@ -24,11 +24,11 @@
// ID of subconnection multiplexed on top of the underlying link, carried // ID of subconnection multiplexed on top of the underlying link, carried
// message code and message data. // 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. // 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 // The proto packages provides only message definitions and low-level
// primitives for their marshalling. Package lab.nexedi.com/kirr/neo/go/neo/neonet // primitives for their marshalling. Package lab.nexedi.com/kirr/neo/go/neo/neonet
...@@ -80,7 +80,7 @@ const ( ...@@ -80,7 +80,7 @@ const (
// the high order byte 0 is different from TLS Handshake (0x16). XXX update for msgpack // the high order byte 0 is different from TLS Handshake (0x16). XXX update for msgpack
Version = 6 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) PktHeaderLenN = 10 // = unsafe.Sizeof(PktHeaderN{}), but latter gives typed constant (uintptr)
// packets larger than PktMaxSize are not allowed. // 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