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?

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Devl mailing list
Devl@freenetproject.org
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to