On Tue, Sep 9, 2008 at 3:24 PM, girish_kumar <girish_kumar at infosys.com>wrote: > Hi, > > > > I am using PJSIP stack in a softphone application and want to check > internet connection before initializing the stack. For this internet > connection check, I am planning to send an HTTP GET to a web server and see > if it replies with a 200 OK response. > > > > Can I develop such a utility using just PJLIB and PJLIB-UTIL features? If > yes, can anyone please provide some pointers on the approach I should take > for building this? Is there any similar utility or example code based on > PJLIB I can use? > While we don't have HTTP samples, this would be similar to the usual client socket programming, so once you know how to do it with using BSD socket API, it should be trivial to map that API into PJLIB socket API. -benny -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080909/d5c55540/attachment.html