[JDEV] registering component with jabber server

frank cbuilder at lm.pl
Sun Apr 15 14:54:19 CDT 2001


What should stream header look like? This is the problem I can't resolve...
Could you post an example?

Frank



> After you write your stream header to the socket, base_accept should write
one
> back.  On the stream header which base_accept wrote back there is a id=""
> attribute.  Make a SHA1 hash of the id + password and send it back in a
handshake
> tag: <handshake>sha-hash</handshake>
> base_accept will send an empty <handshake/> tag in acknowledgement,
> or close the stream if the password was wrong.





More information about the JDev mailing list