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

Brian Campbell bacam at z273.org.uk
Sat Aug 26 05:04:23 CDT 2006

On Sat, Aug 26, 2006 at 02:20:22AM +0200, Sander Devrieze wrote:
> 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/ at 1523

Perhaps I'm missing something obvious here, but why not use server
generated resources?  According to the RFC, any XMPP compliant server
ought to make up a new resource identifier if you don't specify one when


More information about the JDev mailing list