Menu

#16 MsnProtocol.disconnect doesn't cause disconnect

v_0.2.2_(beta)
open
nobody
MSN Module (10)
7
2009-04-06
2003-11-15
No

Hi guys :)

I am not 100 percent sure, that this is actually a bug,
but I think so.

When I in my run MsnProtocol.disconnect, I can se in
MSN Messenger (I have one msn-account for my app,
and another for MSN Messenger), that I'm still online.
First when I try to send some text, MSN Messenger
realises, that I am not online.

However, if I just closes the whole application, MSN
Messenger immediatly recognizes that I am offline.
Therefore I think, that the lib does not disconnect
correctly from the MSN-network.

// Daniel S. Jacobsen

Discussion

  • Daniel S. Jacobsen

    • priority: 5 --> 7
     
  • Daniel S. Jacobsen

    Logged In: YES
    user_id=884338

    I found the problem, and the solution is to add the following
    code as the last in MsnServer.shutdown():

    try {
    conn.close();
    } catch (IOException ioe) { }

    Regards,
    Daniel S. Jacobsen

     
  • Raghu Kaippully

    Raghu Kaippully - 2009-04-06
    • assigned_to: kraghu --> nobody
     

Log in to post a comment.