DataLength is in bytes not bits.

Also I'm not sure what you're doing with the encoding; the control
messages are UTF-8 in FCP2, but the content can be anything you like as
long as you specify it; the length must be correct, *in bytes*. Suggest
you turn the string into bytes, then get the length of the bytes, then
write the bytes.

On Thu, Nov 02, 2006 at 04:25:44PM +0000, Volodya wrote:
> I have this function that should insert the data from the string passed to it.
> http://code.bulix.org/e4gdd9-22174   However, it just hangs there until the 
> node is
> restarted. So i suspect that the node doesn't send anything back. I've even 
> changed
> GetCHKOnly to true, hoping that it'll give me something, but to no avail. Am 
> i missing
> something simple?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20061102/962719b4/attachment.pgp>

Reply via email to