From: Norman R. <no...@gm...> - 2005-09-20 22:19:22
|
erm, what server are you using? the example is using 'localhost' as the address of the jabber server, and irc.jabber is the name of the component. secret is the password for the componet (set up per component/hostname in jabberd1/ejabberd, it's global in jabberd2) On 20/09/05, Andrew Diederich <and...@gm...> wrote: > On 9/20/05, Norman Rasmussen <no...@gm...> wrote: > > yea, it's just an ordering issue, try: > > > > import xmpp > > connection =3D xmpp.client.Component('localhost',7676) > > connection.connect() > > connected =3D connection.auth('irc.jabber', 'secret') >=20 > Ok, now I'm getting closer. It turns out I need to set the 'to=3D...' > as 'to=3Dirc.jabber' in the initial stream:stream connection. Jabberd > is listening on localhost. I had hoped I set that in the auth, but I > guess not. So, how do I have a different servername to connect to, > and a component name to connect as/to? >=20 > -- > andrewdied >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your ver= y > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Xmpppy-devel mailing list > Xmp...@li... > https://lists.sourceforge.net/lists/listinfo/xmpppy-devel >=20 --=20 - Norman Rasmussen - Email: no...@ra... - Home page: http://norman.rasmussen.co.za/ |