On Thu, 13 Jul 2006, Gabriel Millerd wrote:
You will need to do the SRV lookups yourself in order to hand Net::Jabber
a hostname, either via Net::DNS (requiring you to know how SRV records
work), or Net::RULI (interface to extra library, but hands you the results
on a platter).
Thanks for replying.
I can resolve the actual _xmpp-client._tcp myself (worse case I
could statically code it). But it seems that I am still left with
'hostname,port,username,passwd,resource' for my options. And username
automatically becomes [EMAIL PROTECTED] I cannot supply a realm or it
wont auth.
Ah (realisation dawns). There is an undocumented 'componentname' variable
that you can pass to Net::Jabber::Client->Connect() (actually
Net::XMPP::Connection via Net::XMPP::Client) which will do what you want
it to do.
--
Bruce Campbell