Sorry Erik, never mind. It was my fault.<br><br>-Adam<br><br><div><span class="gmail_quote">On 12/17/05, <b class="gmail_sendername">Adam Thorsen</b> <<a href="mailto:adam.thorsen@gmail.com">adam.thorsen@gmail.com</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I do restart the loop:<br><br>(defun |SendMessage| (message)<br> <br> (let ((uid (s-xml-rpc:get-xml-rpc-struct-member message :|uid|))
<br> (body (s-xml-rpc:get-xml-rpc-struct-member message :|text|)))<br> (let ((connection
<br> (gethash<br> (make-jid (get-handle 1))<br> *connection-hash*)))<span class="q"><br> (xmpp:message connection "<a href="mailto:awt@jabber.loglibrary.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
awt@jabber.loglibrary.com</a>"body)
<br></span> (sb-thread:make-thread (lambda () (xmpp:receive-stanza-loop connection)))))<br> <br> (s-xml-rpc:get-xml-rpc-struct-member message :|text|))<br><br>Could I somehow be starting the loop on the wrong connection?
<br><br>I do I specify to the handler which connection it should be watching?<br><br>Thanks,<br><span class="sg">-Adam</span><div><span class="e" id="q_1083bb9c1ffcfebd_4"><br><br><br><div><span class="gmail_quote">On 12/17/05,
<b class="gmail_sendername">Erik Enge</b> <<a href="mailto:erik.enge@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
erik.enge@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On 12/17/05, Adam Thorsen <<a href="mailto:adam.thorsen@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
adam.thorsen@gmail.com</a>> wrote:<br>> However, once I send a message, like this:<br>><br>> (xmpp:message connection "<a href="mailto:awt@jabber.loglibrary.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
awt@jabber.loglibrary.com</a>"body)<br>
><br>> xmpp:handle seems to stop processing messages on the connection. Why does<br>> this happen? How can I get it to start processing messages again?<br><br>I take it you interrupted the read-stanza-loop in order to send that
<br>message? You don't mention if you start the loop again afterwards,<br>could that be the problem?<br><br>Erik.<br></blockquote></div><br>
</span></div></blockquote></div><br>