Socket issue with Symbian build?

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

 



I found part of the problem. In the Symbian_ua build, there is a call to
ua_main()
which initializes the following:

    RSocketServ aSocketServer;
    RConnection aConn;
    TInt err;
    pj_symbianos_params sym_params;
    pj_status_t status;

    // Initialize RSocketServ
    if ((err=aSocketServer.Connect()) != KErrNone)
        return PJ_STATUS_FROM_OS(err);

    // Open up a connection
    if ((err=aConn.Open(aSocketServer)) != KErrNone) {
        aSocketServer.Close();
        return PJ_STATUS_FROM_OS(err);
    }

    if ((err=aConn.Start()) != KErrNone) {
        aSocketServer.Close();
        return PJ_STATUS_FROM_OS(err);
    }

The problem is, If I call these, later when I call pj_init() there is a
crash.

Is there a specific order that things need to be called?

Scott..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080427/3dec499a/attachment.html 


[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