added a helpful comment
This commit is contained in:
parent
5cb09b3708
commit
f2d1a5aa83
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@ struct MultiAddress
|
||||||
// A MultiAddress represented as a string
|
// A MultiAddress represented as a string
|
||||||
char* string;
|
char* string;
|
||||||
// A MultiAddress represented as an array of bytes
|
// A MultiAddress represented as an array of bytes
|
||||||
|
//<varint proto><n byte addr><1 byte protocol code><4 byte ipv4 address or 16 byte ipv6 address><1 byte tcp/udp code><2 byte port>
|
||||||
uint8_t* bytes;
|
uint8_t* bytes;
|
||||||
size_t bsize;
|
size_t bsize;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue