[JDEV] "who is online?" with Net::Jabber

Stefan Strigler steve at zeank.in-berlin.de
Thu Jan 30 07:18:51 CST 2003


Hi,

I'm using Net::Jabber within a perl script on my webserver. I connect as
an admin user and want to see who is online. For this I want to send the
following query (taken from jabber admin guide):

<iq type="get" to="yourhostname">
  <query xmlns="jabber:iq:admin">
    <who/>
  </query>
</iq>

How do I do this with Net::Jabber? How do I get the results of this query
in a convenient way? (I "just" want to know who is online)


Greets


	Steve




More information about the JDev mailing list