added a helpful comment

This commit is contained in:
John Jones 2017-02-16 23:13:58 -05:00
parent 5cb09b3708
commit f2d1a5aa83

View file

@ -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;
}; };