X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fmeshlink%2B%2B.h;h=64673f58cb42dc119ef9eea30e6d2d67826a9b8b;hb=ffda069e617db34c12321b438964e4c369053466;hp=f5921363e0dffa550a5a38065bc8eaafc703829f;hpb=72a9c7ede43a275eba374a3de1ee880b93c2f328;p=meshlink 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.