From: Norman R. <no...@ra...> - 2010-09-30 10:38:35
|
On Thu, Sep 30, 2010 at 2:14 AM, Jaikit Savla <jkt...@gm...> wrote: > I am connecting to facebook xmpp server. I am able to login correctly. But > while closing the stream using disconnect method it throws following > message: > > self.con=self.jabber.connect() > > auth=self.jabber.auth(self.jid.getNode(),self.acc.password,resource=self.jid.getResource()) > self.jabber.Dispatcher.disconnect() #logging off facebook client > > DEBUG: socket sent </stream:stream> > DEBUG: socket got </stream:stream> > DEBUG: socket error Socket error while receiving data > DEBUG: client stop Disconnect detected > DEBUG: socket error Socket operation failed > > > After logoff my buddies can still see me online. Hence I am skeptical about > socket error while disconnecting. Am I doing something wrong here ? > > The socket error after the stream close is fine. You could call self.jabber.sendPresence(typ='unavailable') before the disconnect, that will send offline presence before disconnecting. --Jaikit > > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Xmpppy-devel mailing list > Xmp...@li... > https://lists.sourceforge.net/lists/listinfo/xmpppy-devel > > -- - Norman Rasmussen - Email: no...@ra... - Home page: http://norman.rasmussen.co.za/ |