X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=src%2Fmeshlink%2B%2B.h;h=64673f58cb42dc119ef9eea30e6d2d67826a9b8b;hp=f5921363e0dffa550a5a38065bc8eaafc703829f;hb=b0319f8d358c476e29d3c6daeef1cda616cfd447;hpb=22cef91d16dcef1c41fc187b870c112d3f408ac7 diff --git a/src/meshlink++.h b/src/meshlink++.h index f5921363..64673f58 100644 --- a/src/meshlink++.h +++ b/src/meshlink++.h @@ -732,6 +732,7 @@ public: * @param cb A pointer to the function which will be called when the remote node sends data to the local node. * @param data A pointer to a buffer containing data to already queue for sending. * @param len The length of the data. + * If len is 0, the data pointer is copied into the channel's priv member. * @param flags A bitwise-or'd combination of flags that set the semantics for this channel. * * @return A handle for the channel, or NULL in case of an error. @@ -756,6 +757,7 @@ public: * @param port The port number the peer wishes to connect to. * @param data A pointer to a buffer containing data to already queue for sending. * @param len The length of the data. + * If len is 0, the data pointer is copied into the channel's priv member. * @param flags A bitwise-or'd combination of flags that set the semantics for this channel. * * @return A handle for the channel, or NULL in case of an error.