hi

I try to understand the session logic by running session_unittest.cc.

After   bool valid = session1->Initiate("[EMAIL PROTECTED]", NULL, desc1);
I can see that session initiate xml stanza is generated by the p2p
module, that is to say, manhandler1->CheckNextStanza(
      "<cli:iq to=\"[EMAIL PROTECTED]" type=\"set\" from=\"[EMAIL PROTECTED]" 
id=
\"0\""
      " xmlns:cli=\"jabber:client\">"
      "<session xmlns=\"http://www.google.com/session\"; type=\"initiate
\""
      " id=\"2154761789\" initiator=\"[EMAIL PROTECTED]">"
      "<ses:description xmlns:ses=\"http://oink.splat/session\"/>"
      "<p:transport xmlns:p=\"http://www.google.com/transport/p2p\"/>"
      "</session>"
      "</cli:iq>")

is ok.

But the transport-info xml stanza is not generated. Even i changed the
unit test code , even the initiator received the transport accept xml
stanza from the recipient, the initiator still does not generate
transport-info xml stanza.

In short, i have no idea how transport-info is generated. I think it
should be triggered by the transport itself. But there is no place to
generate such a xml stanza.

Any idea?

regards
px



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-talk-open" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-talk-open?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to