>> when the client connect to jabber server by sending the open stream tag >> <stream:stream>, and server reply the open stream tag with session id, >> then >> we can start sending XML Packet, i wonder to know what we have to do with >> the open stream tag sent by server to client? do we need the open stream >> tag with session id(send by server) to tracking to the server? or Is it >> just easy for the server to close the connection by sending close stream >> tag </stream:stream>? > > Stream IDs are used in server dialback and in old-style digest > authentication: > > http://www.xmpp.org/specs/rfc3920.html#dialback > http://www.jabber.org/jeps/jep-0078.html
as peter mentioned you need it for auth and dialback. You also need the stream tag to detect the stream version and detecting/caching the xml namespaces. So it depends on the your software design and xml parser what you do with this tag. http://www.xmpp.org/specs/rfc3920.html#streams Alex _______________________________________________ jdev mailing list jdev@jabber.org http://mail.jabber.org/mailman/listinfo/jdev