Simulating a jabber-client

Hello,

I would like to not use a real jabber client, but manual scripting instead. It should work like this:

In certain conditions, I want to show that a user is online, in this case I “log in” the user to the jabber server and set visibility. In other conditions, I want to log out that user.

But it seems the user is only displayed online as long as the socket is open, that’'s what I want to work around. If there would be a few thousand users online on the local server, there would be a few thousand open sockets, which would not make much sense.

Is there any chance to get this done, and if so, how?

thanks, JH

I don’'t understand your use case. If there is no socket for the user, why would you show them as online?

Regards,

Matt