> I dug into the roster.c code from Jabber 1.4.2 and it appears to use > internal data structures (mapi->user->sessions) to enumerate through the > connected resources. > > Is there a way for my out of process component to discover a nodes > connected resources?
Not through any standard mechanism, as its internal session manager data. The best you could do is to write a new JSM module that extends the protocol to expose the information, and then have your component issue requests for this information. You have an obvious race condition in this case, though. Also, take a look at mod_browse.c - I'm not completely familiar with it, but it has some hooks for returning lists of users currently online, which may be of some use. Rob. -- Robert Norris GPG: 1024D/FC18E6C2 Email+Jabber: [EMAIL PROTECTED] Web: http://cataclysm.cx/
msg07915/pgp00000.pgp
Description: PGP signature
