[jdev] nonblocking RPCCall() in Net::Jabber, can it work?

Scott Bolte listS+jabber-jdev at niss.com
Sun Mar 14 22:12:41 CST 2004


	As far as I can tell, it is not possible to use CheckID() to
	retrieve the answer to a non-blocking RPCCall() call.

	CheckID() requires an object tag and an id. Unfortunately,
	RPCCall() returns just an id. The iq object it creates goes out
	of scope, taking the tag with it, when RPCCall() returns.

	I've only been using Jabber for two days so I suspect I'm
	missing something. Is there any way to do non-blocking RPC and
	later retrieve the answer packet?

		Scott

	P.S. I am using version 1.29 of Net::Jabber.



More information about the JDev mailing list