[jdev] parsing xml (xmpp) with ruby

Norman Rasmussen norman at rasmussen.co.za
Mon Sep 29 03:46:32 CDT 2008


On Mon, Sep 29, 2008 at 9:19 AM, Remko Tronçon <remko at el-tramo.be> wrote:

> > I tried to create my own XMPP parser/library (for, ehm, educational
> > purposes). I never come across this issue. As far as I understand it, I
> > get proceed, but no more binary data.
>
> You mean you don't get binary data when you did a read() of
> <proceed/>? You can't rely on that on a TCP connection.
>

but you can rely on it for a TLS/SSL connection.  TLS/SSL servers won't
speak binary to you until you've sent the greeting, so this scenario is a
luck win.

-- 
- Norman Rasmussen
- Email: norman at rasmussen.co.za
- Home page: http://norman.rasmussen.co.za/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20080929/f6047a17/attachment-0003.htm>


More information about the JDev mailing list