<html><head></head><body><br>
to give you an idea, look at this diff...<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:oliver@devilmask:~/projects/jabber/jabber-1.1.3/pthsock$">oliver@devilmask:~/projects/jabber/jabber-1.1.3/pthsock$</a> diff client.c flatclient.c <br>
137a138<br>
> io_write_null(cur);<br>
173a175<br>
> io_write_null(cur);<br>
193c195,196<br>
< io_write_str(c,xstream_header_char(h));<br>
---<br>
> io_write_str(c,xstream_flatheader_char(h));<br>
> io_write_null(c);<br>
240a244<br>
> io_write_null(c);<br>
280a285<br>
> int index;<br>
292c297,302<br>
< ret=xstream_eat(c->xs,buffer,bufsz);<br>
---<br>
> index=0;<br>
> while (index<bufsz) {<br>
> if (buffer[index] != '\0')<br>
> ret=xstream_eat(c->xs,&buffer[index],1);<br>
> index++;<br>
> }<br>
<br>
and this is the addition to io_select.c<br>
<br>
<br>
void io_write_null(sock c)<br>
{<br>
if(c->xbuffer!=NULL) _io_write_dump(c);<br>
pth_write(c->fd,"\0",1);<br>
}<br>
<br>
these changes will be included with a namespace switch, initially i'm just
compiling as a separate .so and listening on a separate socket.<br>
<br>
Hope this is useful. Oliver.<br>
dlb wrote:<br>
<blockquote type="cite" cite="mid:39EF87FC.9E3B83B2@worldnet.att.net">
congratulations on getting this to work !
<br>
Have you implemented the revision to io_select's io_write_dump function
which you had discussed - using a buffer length variable ? OR perhaps
another means ??
<p>any advice you can provide will be greatly appreciated. I've heard
that building and configuring jabber is no small feat, but I'll give it
a shot if this work-around is effective.
</p>
<p>I'd been contemplating developing a socket interchange in TCL - to intermediate
and filter the stream from F5- which would address this same problem,
but your solution is preferable.
</p>
<p>nice work
<br>
</p>
<p>Oliver George wrote:
</p>
<blockquote type="CITE">Hi JDEVers,
<p>(in case anyone is interested i have successfully interfaced flash 5
with
<br>jabber and hopefully i will integrate these changes to the jabber source
<br>- thanks to all who helped)
<br>
<br><a href="http://mailman.jabber.org/listinfo/jdev"></a> </p></blockquote>
</blockquote>
</body>
</html>