S60: rconnection (reconnect)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2010/10/21 Tine Ur?i? <tine at cde.si>:
> Hi.
>
> I'm having some trouble with reconnecting socket when connection is lost.
> I have read the documentation
> (http://trac.pjsip.org/repos/wiki/Symbian_AP_Reconnection).
>
> I did implement the "connmon" into my? application. However as the
> documentation states, this does not completely resolve the problem.
> Namely if the connection is lost and user selects another access point (AP),
> the socket gets stuck (symbian bug?).
>

Haven't we solved the stuck issue with
pj_symbianos_set_connection_status()? The wiki above has explained
this, and this trick is used in symbian_ua as well.

Best regards,
 Benny



> I want to reset everything and reconnect as if it's the first app start:
>
> connmon detects disconnection
> connmon calls pjsua_destroy()
> connmon calls applications "init" (which creates a new rconnection and so
> on)
> connmon is freed/closed
>
> Is this the right way of doing this? Is there a better os simpler solution?
> If using the symbian_ua sample app, how would one fix this problem?
>
> I'm using Qt. Would mobility help?
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux