Using PJLIB for generating HTTP GET request

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

 



you can also use a http library, e.g. libcurl:
http://curl.haxx.se/lxr/source/docs/examples/simple.c

klaus

girish_kumar schrieb:
> 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?
> 
>  
> 
> Regards
> 
> Girish
> 
>  
> 
> **************** CAUTION - Disclaimer *****************
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
> for the use of the addressee(s). If you are not the intended recipient, please 
> notify the sender by e-mail and delete the original message. Further, you are not 
> to copy, disclose, or distribute this e-mail or its contents to any other person and 
> any such actions are unlawful. This e-mail may contain viruses. Infosys has taken 
> every reasonable precaution to minimize this risk, but is not liable for any damage 
> you may sustain as a result of any virus in this e-mail. You should carry out your 
> own virus checks before opening the e-mail or attachment. Infosys reserves the 
> right to monitor and review the content of all messages sent to or from this e-mail 
> address. Messages sent to or from this e-mail address may be stored on the 
> Infosys e-mail system.
> ***INFOSYS******** End of Disclaimer ********INFOSYS***
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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