<div dir="rtl"><div dir="ltr">i Hope i got to the write place.<br><br>i am a labview programer and because there is no libery for labview, I try to build my on.<br><br>The problem is that i try to connect to google by TLS and SASL.<br>
this what i do<br>I Send:<br><div style="margin-left:40px"><?xml version="1.0"?><br> <stream:stream to="<a href="http://gmail.com">gmail.com</a>"<br> version="1.0"<br>
xmlns="jabber:client"<br> xmlns:stream="<a href="http://etherx.jabber.org/streams">http://etherx.jabber.org/streams</a>"><br></div>The SEVER send:<br><div style="margin-left:40px">
<stream:stream from="<a href="http://gmail.com">gmail.com</a>" id="95AC9FE47B969448" version="1.0" xmlns:stream="<a href="http://etherx.jabber.org/streams">http://etherx.jabber.org/streams</a>" xmlns="jabber:client"><stream:features><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"><required/></starttls><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>X-GOOGLE-TOKEN</mechanism><mechanism>X-OAUTH2</mechanism></mechanisms></stream:features><br>
</div><br>When i try to connect with SASL, I Send:<br><div style="margin-left:40px"><starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/><br></div>The SEVER send:<br><div style="margin-left:40px"><proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><br>
<br><font size="4">But<font>, after that the sever kick me. then i tried SASL</font></font><br></div></div><div dir="ltr">When i try to connect with TLS, I Send:<br><auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="X-GOOGLE-TOKEN">Onlvc2hpLmhvbWUyMDA2OmUzMXEydzNlNHI=</auth><br>
</div><div dir="ltr"><br><br>I start to read "O’Reilly, XMMP:The Definitive Guide"<br></div></div>