[pjsip] async http request atop io_queue / pjsock?

Benny Prijono bennylp at pjsip.org
Mon Feb 11 12:19:42 EST 2008


On 2/11/08, Roman Puls <pjsip at x-fabric.com> wrote:
>
>  Hi Folks,
>
> did anybody already implement a HTTP client on top of pjsock / pj_io_queue?
>

I haven't, but it should be no different then any other TCP client socket.

> Also, do you think it's possible to "borrow" resources of an existing
> IO-queue (of a running sip instance) to install a custom tcp-socket with
> custom callbacks?
>

Sure, that's what ioqueue is for.

> Any samples / code appreciated! ;)
>

None of these unfortunately (apart from SIP TCP transport and the
ioqueue TCP test in pjlib-test).

cheers,
 -benny


> Cheers and thanks,
>   Roman




More information about the pjsip mailing list