[jdev] winpopup like sending from multiple programs but one account simultaneously?

Sander Devrieze s.devrieze at pandora.be
Fri Aug 25 19:20:22 CDT 2006


Op vrijdag 25 augustus 2006 18:22, schreef Norman Rasmussen:
> On 8/25/06, ennova2005-jabber at yahoo.com <ennova2005-jabber at yahoo.com> wrote:
> > You could parse the Message-Id of the email and use that as the xmpp
> > resource when authenticating your xmpp client.
> >
> > PID of the spawned process that parses the email will work as well.. but
> > someday you may want  to run your program on more than one machine ;-)
>
> I hear /dev/random is a good alternative to handle this case.

...there still is change to have the same value twice. I think it is better to 
use ip at pid as resource. For example: user at example.org/156.32.15.65 at 1523

-- 
Mvg, Sander Devrieze.
xmpp:sander at devrieze.dyndns.org

ejabberd, the expandable Jabber daemon. --
http://ejabberd.jabber.ru/



More information about the JDev mailing list